diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-08-05 16:08:07 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-08-05 16:08:07 +0000 |
commit | 06f56c824b07049b7ecbe4d896ea4ff43f0a6f79 (patch) | |
tree | ac5023815d89efced05461f419209d42101b4d82 /packages/linux-libc-headers/linux-libc-headers_2.6.25.bb | |
parent | c4c1bcec601b7606971ac8b92a7d410742f038ec (diff) |
include sys/types.h in netfilter headers exported to userspace.
When using 2.6.25 kernel headers iptables fails to compile like below
/scratch/oe/build/eglibc/tmp-omap5912osk/staging/arm-angstrom-linux-gnueabi/usr/include/linux/netfilter.h:40: error: expected specifier-qualifier-list before '__u32'
This patch includes sys/types.h in userspace netfilter headers so __u32 definition is resolved.
Diffstat (limited to 'packages/linux-libc-headers/linux-libc-headers_2.6.25.bb')
-rw-r--r-- | packages/linux-libc-headers/linux-libc-headers_2.6.25.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/linux-libc-headers/linux-libc-headers_2.6.25.bb b/packages/linux-libc-headers/linux-libc-headers_2.6.25.bb index f47fd08091..0d4163693c 100644 --- a/packages/linux-libc-headers/linux-libc-headers_2.6.25.bb +++ b/packages/linux-libc-headers/linux-libc-headers_2.6.25.bb @@ -2,11 +2,12 @@ require linux-libc-headers.inc INHIBIT_DEFAULT_DEPS = "1" DEPENDS += "unifdef-native" -PR = "r1" +PR = "r2" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ file://reinstate-a.out.h.patch;patch=1 \ file://fix-kernel-conditionalize-a.out.h.patch;patch=1 \ + file://netfilter-include-types_h-in-userspace.patch;patch=1 \ file://procinfo.h" S = "${WORKDIR}/linux-${PV}" |