equal
deleted
inserted
replaced
1 --- libnet-1.1.2.1/include/libnet/libnet-types.h.orig Wed Dec 14 08:56:37 2011 |
1 --- libnet-1.1.5/include/libnet/libnet-types.h.orig Sat Dec 17 16:12:12 2011 |
2 +++ libnet-1.1.2.1/include/libnet/libnet-types.h Wed Dec 14 10:39:57 2011 |
2 +++ libnet-1.1.5/include/libnet/libnet-types.h Sat Dec 17 16:12:36 2011 |
3 @@ -33,7 +33,8 @@ |
3 @@ -32,8 +32,14 @@ |
|
4 #ifndef __LIBNET_TYPES_H |
4 #define __LIBNET_TYPES_H |
5 #define __LIBNET_TYPES_H |
5 |
6 |
6 /* Solaris has messed up POSIX nomenclature for these */ |
7 -/* libnet should be using the standard type names, so mapping standard |
7 -#if (__sun__ && __svr4__) |
8 - * to non-standard should not be necessary. */ |
|
9 +/* Solaris has messed up POSIX nomenclature for these */ |
8 +#ifndef __BIT_TYPES_DEFINED__ |
10 +#ifndef __BIT_TYPES_DEFINED__ |
9 +#define __BIT_TYPES_DEFINED__ |
11 +#define __BIT_TYPES_DEFINED__ |
10 typedef uint8_t u_int8_t; |
12 +typedef uint8_t u_int8_t; |
11 typedef uint16_t u_int16_t; |
13 +typedef uint16_t u_int16_t; |
12 typedef uint32_t u_int32_t; |
14 +typedef uint32_t u_int32_t; |
|
15 +typedef uint64_t u_int64_t; |
|
16 +#endif |
|
17 |
|
18 #endif /* __LIBNET_TYPES_H */ |
|
19 |