/[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.3 by dprice, Tue Oct 4 02:34:53 2005 UTC revision 1.4 by dprice, Tue Oct 4 15:46:31 2005 UTC
# Line 20  Line 20 
20  # define GETADDRINFO_H  # define GETADDRINFO_H
21    
22  /* Get all getaddrinfo related declarations, if available.  */  /* Get all getaddrinfo related declarations, if available.  */
23    # ifdef HAVE_SYS_TYPES_H
24    /* sys/socket.h in i386-unknown-freebsd4.10 and
25       powerpc-apple-darwin5.5 require sys/types.h, so include it first.
26       Then we'll also get 'socklen_t' and 'struct sockaddr' which are
27       used below. */
28    #  include <sys/types.h>
29    # endif
30  # ifdef HAVE_SYS_SOCKET_H  # ifdef HAVE_SYS_SOCKET_H
31  #  include <sys/socket.h>  #  include <sys/socket.h>
32  # endif  # endif
# Line 29  Line 36 
36    
37  # ifndef HAVE_STRUCT_ADDRINFO  # ifndef HAVE_STRUCT_ADDRINFO
38    
 /* Get 'socklen_t', and 'struct sockaddr' via sys/types.h which are  
    used below. */  
 #  ifdef HAVE_SYS_TYPES_H  
 #   include <sys/types.h>  
 #  endif  
   
39  /* Structure to contain information about address of a service provider.  */  /* Structure to contain information about address of a service provider.  */
40  struct addrinfo  struct addrinfo
41  {  {

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

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