summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-27 08:18:01 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-27 08:18:01 +0000
commit6901b1af8fd1e234a2a8167ed861ac3591d06faf (patch)
tree09ae7082b663029f39917d4591e0c65322994f51 /target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
parent746bd4e2bf0f90e96875f49d7cfe1bcd568c4e50 (diff)
[kernel] mode cygwin fixes for scripts/mod/file2alias
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17420 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
index 96fffc066..b59027d7c 100644
--- a/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
@@ -92,7 +92,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
#include <elf.h>
+#else
+#include "../../../../../tools/sstrip/include/elf.h"