diff --git a/main/netsock.c b/main/netsock.c index 568add4ca8..8b179ff466 100644 --- a/main/netsock.c +++ b/main/netsock.c @@ -33,7 +33,7 @@ ASTERISK_REGISTER_FILE() -#ifndef __linux__ +#if !defined (__linux__) && !defined (__GNU__) #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__) || defined(__GLIBC__) #include #endif