diff options
Diffstat (limited to 'src/socket.h')
-rw-r--r-- | src/socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/socket.h b/src/socket.h index 3865970b..5721a304 100644 --- a/src/socket.h +++ b/src/socket.h @@ -25,7 +25,9 @@ #endif #include <glib.h> -#include <netdb.h> +#if HAVE_NETDB_H +# include <netdb.h> +#endif typedef struct _SockInfo SockInfo; |