ensure that needed headers are included for chmod() and mkdir() (bug #3937)
[asterisk/asterisk.git] / asterisk.c
index 8c62dca..09b0443 100755 (executable)
@@ -51,6 +51,7 @@
 #include <sys/resource.h>
 #include <grp.h>
 #include <pwd.h>
+#include <sys/stat.h>
 
 #if  defined(__FreeBSD__) || defined( __NetBSD__ ) || defined(SOLARIS)
 #include <netdb.h>