/[cvs]/ccvs/lib/getaddrinfo.h
ViewVC logotype

Diff of /ccvs/lib/getaddrinfo.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by dprice, Tue Oct 4 15:46:31 2005 UTC revision 1.5 by dprice, Wed Oct 5 20:51:02 2005 UTC
# Line 19  Line 19 
19  #ifndef GETADDRINFO_H  #ifndef GETADDRINFO_H
20  # define GETADDRINFO_H  # define GETADDRINFO_H
21    
 /* Get all getaddrinfo related declarations, if available.  */  
 # ifdef HAVE_SYS_TYPES_H  
22  /* sys/socket.h in i386-unknown-freebsd4.10 and  /* sys/socket.h in i386-unknown-freebsd4.10 and
23     powerpc-apple-darwin5.5 require sys/types.h, so include it first.     powerpc-apple-darwin5.5 require sys/types.h, so include it first.
24     Then we'll also get 'socklen_t' and 'struct sockaddr' which are     Then we'll also get 'socklen_t' and 'struct sockaddr' which are
25     used below. */     used below. */
26  #  include <sys/types.h>  # include <sys/types.h>
27  # endif  /* Get all getaddrinfo related declarations, if available.  */
28  # ifdef HAVE_SYS_SOCKET_H  # include <sys/socket.h>
29  #  include <sys/socket.h>  # include <netdb.h>
 # endif  
 # ifdef HAVE_NETDB_H  
 #  include <netdb.h>  
 # endif  
30    
31  # ifndef HAVE_STRUCT_ADDRINFO  # ifndef HAVE_STRUCT_ADDRINFO
32    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26