summaryrefslogtreecommitdiff
path: root/main/netsock.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2016-11-01 11:18:49 +0200
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2016-11-01 11:48:06 +0200
commited08811e64722b266f6c09ad131e316928db9f3c (patch)
tree696f51a9d03ae89705d9fd76a06e251be41e9644 /main/netsock.c
parent3ad4719917c106a79546676ffec22af9a0921eb4 (diff)
netsock.c: fix includes for HURD
ASTERISK-25070 Change-Id: I43bf94d2d36d3d8a8d0df40cd6c027d65a462814
Diffstat (limited to 'main/netsock.c')
-rw-r--r--main/netsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/netsock.c b/main/netsock.c
index b7a7566a7..91f7e7314 100644
--- a/main/netsock.c
+++ b/main/netsock.c
@@ -31,7 +31,7 @@
#include "asterisk.h"
-#ifndef __linux__
+#if !defined (__linux__) && !defined (__GNU__)
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__) || defined(__GLIBC__)
#include <net/if_dl.h>
#endif