Use same defines for NetBSD as FreeBSD in pbx_dundi.c (bug 2716)
authorJames Golovich <james@gnuinter.net>
Sun, 24 Oct 2004 17:53:10 +0000 (17:53 +0000)
committerJames Golovich <james@gnuinter.net>
Sun, 24 Oct 2004 17:53:10 +0000 (17:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4084 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_dundi.c

index a7d2644..625bccc 100755 (executable)
@@ -47,7 +47,7 @@
 #include <sys/ioctl.h>
 #include <netinet/in.h>
 #include <net/if.h>
 #include <sys/ioctl.h>
 #include <netinet/in.h>
 #include <net/if.h>
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include <net/if_dl.h>
 #include <ifaddrs.h>
 #endif
 #include <net/if_dl.h>
 #include <ifaddrs.h>
 #endif