blob: 158630e6604c74fc16f072c93ddd8639b45e0657 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- socat-1.7.3.0.orig/sysincludes.h 2015-01-24 11:15:22.000000000 +0100
+++ socat-1.7.3.0/sysincludes.h 2015-12-29 20:35:27.000000000 +0100
@@ -141,9 +141,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>
|