freetdm: define _GNU_SOURCE to get gethostbyname_r
This commit is contained in:
parent
1d7a1bd131
commit
e085fea23e
|
@ -31,6 +31,8 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#if HAVE_NETDB_H
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue