summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
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.27/902-darwin_scripts_include.patch
parent4fa28747eefa3556ef521780c840f0046221a092 (diff)
downloadmaster-31e0f0ae-06f095a73a786cfcb3a89000520f092977024136.tar.gz
master-31e0f0ae-06f095a73a786cfcb3a89000520f092977024136.tar.bz2
master-31e0f0ae-06f095a73a786cfcb3a89000520f092977024136.zip
mode cygwin fixes for scripts/mod/file2alias
SVN-Revision: 17420
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 96fffc0660..b59027d7c7 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"