--- 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 #endif +#if defined(__GLIBC__) #if HAVE_LINUX_IF_TUN_H #include #endif +#endif #if HAVE_TERMIOS_H && _WITH_TERMIOS #include