[BACK]Return to netdb.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/netdb.h between version 1.32 and 1.33

version 1.32, 2014/04/28 21:38:59 version 1.33, 2015/01/18 20:29:31
Line 87 
Line 87 
 #ifndef _NETDB_H_  #ifndef _NETDB_H_
 #define _NETDB_H_  #define _NETDB_H_
   
 #include <sys/cdefs.h>  
   
 #if __BSD_VISIBLE  
 #include <sys/param.h>  
 #endif  
 #include <netinet/in.h>  #include <netinet/in.h>
   
 #ifndef _SOCKLEN_T_DEFINED_  #ifndef _SOCKLEN_T_DEFINED_
Line 181 
Line 176 
 /* #define NI_NUMERICSCOPE      32       return the scope number, not the name */  /* #define NI_NUMERICSCOPE      32       return the scope number, not the name */
   
 #if __BSD_VISIBLE  #if __BSD_VISIBLE
 #define NI_MAXHOST      MAXHOSTNAMELEN  /* max host name returned by getnameinfo */  #define NI_MAXHOST      256     /* max host name from getnameinfo (MAXHOSTNAMELEN) */
 #define NI_MAXSERV      32      /* max serv. name length returned by getnameinfo */  #define NI_MAXSERV      32      /* max serv. name length returned by getnameinfo */
   
 /*  /*

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33