aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
parent4fa28747eefa3556ef521780c840f0046221a092 (diff)
downloadupstream-06f095a73a786cfcb3a89000520f092977024136.tar.gz
upstream-06f095a73a786cfcb3a89000520f092977024136.tar.bz2
upstream-06f095a73a786cfcb3a89000520f092977024136.zip
mode cygwin fixes for scripts/mod/file2alias
SVN-Revision: 17420
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch2
6 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch
index ae7a77e16f..8c22743d74 100644
--- a/target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch
@@ -116,7 +116,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"
diff --git a/target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch
index 45a3f27006..88c0421f03 100644
--- a/target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.25/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"
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"
diff --git a/target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch
index c5aadd1ad1..4ff1536773 100644
--- a/target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.28/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"
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 c5aadd1ad1..4ff1536773 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"
diff --git a/target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch
index e98a10d106..fc64c17d52 100644
--- a/target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.31/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"