include stat.h for everybody, needed for device2chan
authorJeff Peeler <jpeeler@digium.com>
Wed, 21 Jul 2010 03:53:19 +0000 (03:53 +0000)
committerJeff Peeler <jpeeler@digium.com>
Wed, 21 Jul 2010 03:53:19 +0000 (03:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278361 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index be237ea..eae6ceb 100644 (file)
@@ -53,11 +53,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #if defined(__NetBSD__) || defined(__FreeBSD__)
 #include <pthread.h>
 #include <signal.h>
 #if defined(__NetBSD__) || defined(__FreeBSD__)
 #include <pthread.h>
 #include <signal.h>
-#include <sys/stat.h>
 #else
 #include <sys/signal.h>
 #endif
 #include <sys/ioctl.h>
 #else
 #include <sys/signal.h>
 #endif
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 #include <math.h>
 #include <ctype.h>
 
 #include <math.h>
 #include <ctype.h>