summaryrefslogtreecommitdiff
path: root/package/socat/patches/patch-sysincludes_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-28 17:30:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-28 17:30:36 +0100
commit89551d9a7633d83d45fb22316153dee7cd898fbc (patch)
treefe55cf46df70e534a912831f3288bd9b2400835f /package/socat/patches/patch-sysincludes_h
parent320e16528ea6a9eba54bac0161e2331093075647 (diff)
parent7051ba973da28f456659ced479c731a61a624a85 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/socat/patches/patch-sysincludes_h')
-rw-r--r--package/socat/patches/patch-sysincludes_h14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/socat/patches/patch-sysincludes_h b/package/socat/patches/patch-sysincludes_h
new file mode 100644
index 000000000..59387a6ad
--- /dev/null
+++ b/package/socat/patches/patch-sysincludes_h
@@ -0,0 +1,14 @@
+--- socat-1.7.2.2.orig/sysincludes.h 2011-12-06 08:45:03.000000000 +0100
++++ socat-1.7.2.2/sysincludes.h 2013-12-25 15:43:19.000000000 +0100
+@@ -136,9 +136,11 @@
+ #if HAVE_NETINET_IF_ETHER_H
+ #include <netinet/if_ether.h>
+ #endif
++#if defined(__GLIBC__)
+ #if HAVE_LINUX_IF_TUN_H
+ #include <linux/if_tun.h>
+ #endif
++#endif
+
+ #if HAVE_TERMIOS_H && _WITH_TERMIOS
+ #include <termios.h>