netsock.c: fix includes for HURD

ASTERISK-25070

Change-Id: I43bf94d2d36d3d8a8d0df40cd6c027d65a462814
This commit is contained in:
Tzafrir Cohen
2016-11-01 11:18:49 +02:00
committed by Richard Mudgett
parent 42bd70b29f
commit 94c9496ed5

View File

@@ -33,7 +33,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$") ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#ifndef __linux__ #if !defined (__linux__) && !defined (__GNU__)
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__) || defined(__GLIBC__) #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__) || defined(__GLIBC__)
#include <net/if_dl.h> #include <net/if_dl.h>
#endif #endif