mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2025-03-02 08:25:39 +00:00
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
|
||||
#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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user