components/libnet/patches/libnet-types.h.patch
changeset 626 a1f09864c0a1
child 650 e2fc423a4fd5
equal deleted inserted replaced
625:a91e898823c4 626:a1f09864c0a1
       
     1 --- libnet-1.1.2.1/include/libnet/libnet-types.h.orig	Wed Dec 14 08:56:37 2011
       
     2 +++ libnet-1.1.2.1/include/libnet/libnet-types.h	Wed Dec 14 10:39:57 2011
       
     3 @@ -33,7 +33,8 @@
       
     4  #define __LIBNET_TYPES_H
       
     5  
       
     6  /* Solaris has messed up POSIX nomenclature for these */
       
     7 -#if (__sun__ && __svr4__)
       
     8 +#ifndef __BIT_TYPES_DEFINED__
       
     9 +#define __BIT_TYPES_DEFINED__
       
    10  typedef uint8_t  u_int8_t;
       
    11  typedef uint16_t u_int16_t;
       
    12  typedef uint32_t u_int32_t;