mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 09:49:35 +02:00
linux-libc-headers: Fix missing include for 2.6.30
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
12
meta/packages/linux-libc-headers/linux-libc-headers-2.6.30/headerfix.patch
vendored
Normal file
12
meta/packages/linux-libc-headers/linux-libc-headers-2.6.30/headerfix.patch
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Index: linux-2.6.30/include/linux/if_tunnel.h
|
||||||
|
===================================================================
|
||||||
|
--- linux-2.6.30.orig/include/linux/if_tunnel.h 2009-08-27 14:34:49.000000000 +0100
|
||||||
|
+++ linux-2.6.30/include/linux/if_tunnel.h 2009-08-27 14:35:04.000000000 +0100
|
||||||
|
@@ -2,6 +2,7 @@
|
||||||
|
#define _IF_TUNNEL_H_
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
+#include <asm/byteorder.h>
|
||||||
|
|
||||||
|
#ifdef __KERNEL__
|
||||||
|
#include <linux/ip.h>
|
||||||
@@ -2,9 +2,10 @@ require linux-libc-headers.inc
|
|||||||
|
|
||||||
INHIBIT_DEFAULT_DEPS = "1"
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
DEPENDS += "unifdef-native"
|
DEPENDS += "unifdef-native"
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|
||||||
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 "
|
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
|
||||||
|
file://headerfix.patch;patch=1"
|
||||||
|
|
||||||
S = "${WORKDIR}/linux-${PV}"
|
S = "${WORKDIR}/linux-${PV}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user