dect
/
libnl
Archived
13
0
Fork 0

Use linux/types.h to fix amd64 build

10-amd64-linux-types.patch from Ubuntu:

   - In order to make libnl compilable on amd64 include linux/types.h
     rather than defining the types ourselves; necessary as other headers
     include that and get different definitions.

 -- Scott James Remnant <scott@ubuntu.com>  Wed, 22 Mar 2006 02:12:08 +0000
This commit is contained in:
Philip Craig 2007-09-18 11:53:04 +10:00 committed by Thomas Graf
parent cbe8902265
commit 1a125f88d8
1 changed files with 1 additions and 6 deletions

View File

@ -34,12 +34,7 @@
#define SOL_NETLINK 270
#endif
typedef uint8_t __u8;
typedef uint16_t __u16;
typedef int16_t __s16;
typedef uint32_t __u32;
typedef int32_t __s32;
typedef uint64_t __u64;
#include <linux/types.h>
/* local header copies */
#include <linux/if.h>