diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 463173351f1cb8f447e170b05bf76403b5d79b11..af17c462390c57a18b8ed1de89e70f121e668ef2 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -40,6 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__Darwin__)
 #include <net/if_dl.h>
 #include <ifaddrs.h>
+#include <signal.h>
 #endif
 
 #include "asterisk/file.h"