]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Use netdb.h instead of getaddrinfo.h.
authorSimon Josefsson <simon@josefsson.org>
Wed, 22 Oct 2008 08:48:41 +0000 (10:48 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 22 Oct 2008 08:48:41 +0000 (10:48 +0200)
src/serv.c

index 5572ecb3fdd6c6bfdc59b5bbd07f1244249e84d3..f4296279a5373763b35f364662e612e24bddd9af 100644 (file)
@@ -37,6 +37,7 @@
 #include <sys/time.h>
 #include <fcntl.h>
 #include <list.h>
+#include <netdb.h>
 
 #if defined _WIN32 || defined __WIN32__
 int _win_select (int max_fd, fd_set * rfds, fd_set * wfds, fd_set * efds,
@@ -49,8 +50,6 @@ int _win_select (int max_fd, fd_set * rfds, fd_set * wfds, fd_set * efds,
 #include "version-etc.h"
 #include "read-file.h"
 
-#include "getaddrinfo.h"
-
 /* konqueror cannot handle sending the page in multiple
  * pieces.
  */