add missing <asm/segment.h>, fix mini_fo and openswan build on ppc
authorNicolas Thill <nico@openwrt.org>
Wed, 18 Oct 2006 14:16:17 +0000 (14:16 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 18 Oct 2006 14:16:17 +0000 (14:16 +0000)
SVN-Revision: 5206

target/linux/generic-2.6/patches/207-powerpc_asm_segment_h.patch [new file with mode: 0644]

diff --git a/target/linux/generic-2.6/patches/207-powerpc_asm_segment_h.patch b/target/linux/generic-2.6/patches/207-powerpc_asm_segment_h.patch
new file mode 100644 (file)
index 0000000..0a7c9ff
--- /dev/null
@@ -0,0 +1,10 @@
+diff -ruN linux-2.6.17-orig/include/asm-powerpc/segment.h linux-2.6.17/include/asm-powerpc/segment.h
+--- linux-2.6.17-orig/include/asm-powerpc/segment.h    1970-01-01 01:00:00.000000000 +0100
++++ linux-2.6.17/include/asm-powerpc/segment.h 2006-06-18 03:49:35.000000000 +0200
+@@ -0,0 +1,6 @@
++#ifndef _ASM_SEGMENT_H
++#define _ASM_SEGMENT_H
++
++/* Only here because we have some old header files that expect it.. */
++
++#endif /* _ASM_SEGMENT_H */