diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-01-27 12:50:41 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-01-27 12:50:41 +0000 |
commit | 955a407e3c7dd91d6322a65747fb61403978c6a8 (patch) | |
tree | 67a578605c97cb2c752e3ab765c6424c3618541b /lib/gai_strerror.c | |
parent | 2a9ab9df35a789599c9d5258689e512d0174c5fe (diff) | |
download | gnulib-955a407e3c7dd91d6322a65747fb61403978c6a8.tar.gz |
Mingw32 fixes for getaddrinfo.
Diffstat (limited to 'lib/gai_strerror.c')
-rw-r--r-- | lib/gai_strerror.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/gai_strerror.c b/lib/gai_strerror.c index f2898706e6..d97b858be6 100644 --- a/lib/gai_strerror.c +++ b/lib/gai_strerror.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell <pjb27@cam.ac.uk>, 1997. @@ -25,7 +25,9 @@ #endif #include <stdio.h> -#include <netdb.h> +#ifdef HAVE_NETDB_H +# include <netdb.h> +#endif #ifdef _LIBC # include <libintl.h> |