author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 15 Dec 2011 06:47:50 -0800 | |
changeset 626 | a1f09864c0a1 |
child 650 | e2fc423a4fd5 |
permissions | -rw-r--r-- |
626
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
--- libnet-1.1.2.1/include/libnet/libnet-types.h.orig Wed Dec 14 08:56:37 2011 |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
+++ libnet-1.1.2.1/include/libnet/libnet-types.h Wed Dec 14 10:39:57 2011 |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
@@ -33,7 +33,8 @@ |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
#define __LIBNET_TYPES_H |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
|
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
/* Solaris has messed up POSIX nomenclature for these */ |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
-#if (__sun__ && __svr4__) |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
+#ifndef __BIT_TYPES_DEFINED__ |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
+#define __BIT_TYPES_DEFINED__ |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
typedef uint8_t u_int8_t; |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
typedef uint16_t u_int16_t; |
a1f09864c0a1
6881496 libnet is not Sun Studio compatible
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
typedef uint32_t u_int32_t; |