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:
parent
cbe8902265
commit
1a125f88d8
|
@ -34,12 +34,7 @@
|
||||||
#define SOL_NETLINK 270
|
#define SOL_NETLINK 270
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef uint8_t __u8;
|
#include <linux/types.h>
|
||||||
typedef uint16_t __u16;
|
|
||||||
typedef int16_t __s16;
|
|
||||||
typedef uint32_t __u32;
|
|
||||||
typedef int32_t __s32;
|
|
||||||
typedef uint64_t __u64;
|
|
||||||
|
|
||||||
/* local header copies */
|
/* local header copies */
|
||||||
#include <linux/if.h>
|
#include <linux/if.h>
|
||||||
|
|
Reference in New Issue