]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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 a7d2644b20ca6164f5a02eb4455b07d51750ad9d..625bccc46cf44a615f919bdf8f56c6c0145d353a 100755 (executable)
@@ -47,7 +47,7 @@
 #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