Make iax2 compile on *BSD
authorMark Spencer <markster@digium.com>
Fri, 27 Feb 2004 16:35:32 +0000 (16:35 +0000)
committerMark Spencer <markster@digium.com>
Fri, 27 Feb 2004 16:35:32 +0000 (16:35 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2273 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 5962a8d..e378270 100755 (executable)
@@ -52,6 +52,7 @@
 #include <netdb.h>
 #include <fcntl.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 #ifdef IAX_TRUNKING
 #include <sys/ioctl.h>
 #include <linux/zaptel.h>