Diff for /embedaddon/libnet/include/libnet.h.in between versions 1.1 and 1.1.1.2

version 1.1, 2012/02/21 22:14:23 version 1.1.1.2, 2013/07/22 11:54:42
Line 59 Line 59
 extern "C" {  extern "C" {
 #endif  #endif
   
 #define _GNU_SOURCE  
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
 #include <fcntl.h>  #include <fcntl.h>
 #include <signal.h>  #include <signal.h>
 #include <stdlib.h>  #include <stdlib.h>
   
 #if !defined(__WIN32__)  #if !defined(__WIN32__)
#include <sys/ioctl.h># include <sys/ioctl.h>
 #endif /* __WIN32__ */  #endif /* __WIN32__ */
   
 #if defined(HAVE_SYS_SOCKIO_H) && !defined(SIOCGIFADDR)  #if defined(HAVE_SYS_SOCKIO_H) && !defined(SIOCGIFADDR)
#include <sys/sockio.h># include <sys/sockio.h>
 #endif  #endif
   
 #include <sys/stat.h>  #include <sys/stat.h>
 #include <sys/types.h>  #include <sys/types.h>
 #include <ctype.h>  #include <ctype.h>
   
 #if !defined(__WIN32__)  #if !defined(__WIN32__)
#include <sys/socket.h># include <sys/socket.h>
#include <netinet/in.h>include <net/if.h>
#include <netinet/in_systm.h> 
#include <netinet/ip.h> 
#include <net/if.h> 
 #else /* __WIN32__ */  #else /* __WIN32__ */
#if (__CYGWIN__)# if (__CYGWIN__)
#include <sys/socket.h>#  include <sys/socket.h>
#endifendif
#include <ws2tcpip.h>include <ws2tcpip.h>
#include <windows.h>include <windows.h>
#include <winsock2.h>include <winsock2.h>
#include <win32/in_systm.h>include <win32/in_systm.h>
 #endif /* __WIN32__ */  #endif /* __WIN32__ */
#if !(__linux__) && !(__WIN32__) && !(__APPLE__) && !(__CYGWIN__)
#include <netinet/ip_var.h>#if !(__linux__) && !(__WIN32__) && !(__APPLE__) && !(__CYGWIN__) && !(__GNU__)
 #else   /* __linux__ */  #else   /* __linux__ */
#if (HAVE_NET_ETHERNET_H)# if (HAVE_NET_ETHERNET_H)
#include <net/ethernet.h>#  include <net/ethernet.h>
#endif  /* HAVE_NET_ETHERNET_H */endif  /* HAVE_NET_ETHERNET_H */
 #endif  /* __linux__ */  #endif  /* __linux__ */
   
 #if !defined(__WIN32__)  #if !defined(__WIN32__)
#include <netinet/tcp.h># include <arpa/inet.h>
#include <netinet/udp.h>include <sys/time.h>
#if (__linux__) && !(__GLIBC__)include <netdb.h>
/* we get multiple definitions of IGMP_AGE_THRESHOLD if we include netinet */ 
#include <linux/igmp.h> 
#else 
#include <netinet/igmp.h> 
#endif 
#include <arpa/inet.h> 
#include <sys/time.h> 
#include <netdb.h> 
 #endif /* __WIN32__ */  #endif /* __WIN32__ */
   
 #include <errno.h>  #include <errno.h>
 #include <stdarg.h>  #include <stdarg.h>
   
#define LIBNET_VERSION  "@LIBNET_VERSION@"#define LIBNET_VERSION  "@PACKAGE_VERSION@"
 
 #define @ENDIANESS@ 1  #define @ENDIANESS@ 1
   
 #include "./libnet/libnet-types.h"  #include "./libnet/libnet-types.h"

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>