aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commit38cfa6bd49dfc39c1647a1b52e0a531da46ac799 (patch)
tree09ae7082b663029f39917d4591e0c65322994f51 /target
parent30c5ba913814847b179d5ab50d9c6fa657d95821 (diff)
downloadupstream-38cfa6bd49dfc39c1647a1b52e0a531da46ac799.tar.gz
upstream-38cfa6bd49dfc39c1647a1b52e0a531da46ac799.tar.bz2
upstream-38cfa6bd49dfc39c1647a1b52e0a531da46ac799.zip
[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')
-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"