diff --git a/main/netsock.c b/main/netsock.c index c11f14a89b..d16cf113f1 100644 --- a/main/netsock.c +++ b/main/netsock.c @@ -33,7 +33,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#ifndef __linux__ +#if !defined (__linux__) && !defined (__GNU__) #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__) || defined(__GLIBC__) #include #endif