]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
netsock.c: fix includes for HURD 65/4265/2
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 1 Nov 2016 09:18:49 +0000 (11:18 +0200)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 1 Nov 2016 17:37:58 +0000 (12:37 -0500)
ASTERISK-25070

Change-Id: I43bf94d2d36d3d8a8d0df40cd6c027d65a462814

main/netsock.c

index c11f14a89b7d5cc0de523efc95fbb4f84196f75d..d16cf113f15fc5e16b508d1121483156548156be 100644 (file)
@@ -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 <net/if_dl.h>
 #endif