cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/lib/getaddrinfo.h


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/lib/getaddrinfo.h
Date: Wed, 05 Oct 2005 16:51:04 -0400

Index: ccvs/lib/getaddrinfo.h
diff -u ccvs/lib/getaddrinfo.h:1.4 ccvs/lib/getaddrinfo.h:1.5
--- ccvs/lib/getaddrinfo.h:1.4  Tue Oct  4 15:46:31 2005
+++ ccvs/lib/getaddrinfo.h      Wed Oct  5 20:51:02 2005
@@ -19,20 +19,14 @@
 #ifndef GETADDRINFO_H
 # define GETADDRINFO_H
 
-/* Get all getaddrinfo related declarations, if available.  */
-# ifdef HAVE_SYS_TYPES_H
 /* sys/socket.h in i386-unknown-freebsd4.10 and
    powerpc-apple-darwin5.5 require sys/types.h, so include it first.
    Then we'll also get 'socklen_t' and 'struct sockaddr' which are
    used below. */
-#  include <sys/types.h>
-# endif
-# ifdef HAVE_SYS_SOCKET_H
-#  include <sys/socket.h>
-# endif
-# ifdef HAVE_NETDB_H
-#  include <netdb.h>
-# endif
+# include <sys/types.h>
+/* Get all getaddrinfo related declarations, if available.  */
+# include <sys/socket.h>
+# include <netdb.h>
 
 # ifndef HAVE_STRUCT_ADDRINFO
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]