--- socat-1.7.2.2.orig/xio-proxy.c 2011-12-06 08:45:03.000000000 +0100 +++ socat-1.7.2.2/xio-proxy.c 2013-12-25 15:47:38.000000000 +0100 @@ -16,6 +16,9 @@ #include "xio-proxy.h" +#if !defined(__GLIBC__) +# define NETDB_INTERNAL -1 +#endif #define PROXYPORT "8080"