summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/klibc/klibc-1.5.24/socket.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/klibc/klibc-1.5.24/socket.h.patch')
-rw-r--r--meta-oe/recipes-devtools/klibc/klibc-1.5.24/socket.h.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-oe/recipes-devtools/klibc/klibc-1.5.24/socket.h.patch b/meta-oe/recipes-devtools/klibc/klibc-1.5.24/socket.h.patch
deleted file mode 100644
index c0a94cee58..0000000000
--- a/meta-oe/recipes-devtools/klibc/klibc-1.5.24/socket.h.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1Subject: Add relevant socket.h definitions
2
3* Discussed upstream:
4* http://www.zytor.com/pipermail/klibc/2010-February/002487.html
5* http://www.zytor.com/pipermail/klibc/2010-February/002488.html
6*
7* Was: Add guards for pre 2.6.33 compatibility.
8*
9* Changes for 1.5.24
10* Only include linux/sockios.h for SIOCGIFCONF and SIOCSIFFLAGS
11* requested by kexec-tools when building statically against klibc.
12
13Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
14
15Index: klibc-1.5.24/usr/include/sys/socket.h
16===================================================================
17--- a/usr/include/sys/socket.h 2011-07-27 15:50:53.000000000 +0200
18+++ b/usr/include/sys/socket.h 2010-05-31 00:44:16.000000000 +0200
19@@ -10,6 +10,12 @@
20 #include <klibc/compiler.h>
21 #include <klibc/sysconfig.h>
22 #include <linux/socket.h>
23+
24+#include <linux/version.h>
25+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)
26+#include <linux/sockios.h> /* the SIOCxxx I/O controls */
27+#endif
28+
29 #include <linux/uio.h>
30 #include <asm/socket.h>
31 #if _KLIBC_HAS_ARCHSOCKET_H