summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.30
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-27 08:18:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-27 08:18:01 +0000
commit06f095a73a786cfcb3a89000520f092977024136 (patch)
treef89526e13577e437c9a7a9c0a919864c72287342 /target/linux/generic-2.6/patches-2.6.30
parent4fa28747eefa3556ef521780c840f0046221a092 (diff)
downloadmtk-20170518-06f095a73a786cfcb3a89000520f092977024136.zip
mtk-20170518-06f095a73a786cfcb3a89000520f092977024136.tar.gz
mtk-20170518-06f095a73a786cfcb3a89000520f092977024136.tar.bz2
mode cygwin fixes for scripts/mod/file2alias
SVN-Revision: 17420
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.30')
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch
index c5aadd1..4ff1536 100644
--- a/target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.30/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"