add missing <asm/segment.h>, fix mini_fo and openswan build on ppc
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches / 207-powerpc_asm_segment_h.patch
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 */