freetdm: define _GNU_SOURCE to get gethostbyname_r

This commit is contained in:
Moises Silva 2010-12-21 09:09:10 -05:00
parent 1d7a1bd131
commit e085fea23e
1 changed files with 2 additions and 0 deletions

View File

@ -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