]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
netsock.c: fix includes for HURD 64/4264/3
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:22 +0000 (12:37 -0500)
ASTERISK-25070

Change-Id: I43bf94d2d36d3d8a8d0df40cd6c027d65a462814

main/netsock.c

index 568add4ca8e69f823d4a6f302640f68d213c794d..8b179ff466ca6e80e5f1f290449ef337242b69a9 100644 (file)
@@ -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 <net/if_dl.h>
 #endif