diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index a7d2644b20ca6164f5a02eb4455b07d51750ad9d..625bccc46cf44a615f919bdf8f56c6c0145d353a 100755 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -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