ensure that needed headers are included for chmod() and mkdir() (bug #3937)
authorKevin P. Fleming <kpfleming@digium.com>
Sun, 3 Apr 2005 20:25:43 +0000 (20:25 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sun, 3 Apr 2005 20:25:43 +0000 (20:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5366 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_sms.c
apps/app_test.c
asterisk.c

index 09e29e1..dd140f6 100755 (executable)
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <errno.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <dirent.h>
 #include <ctype.h>
 #include "../astconf.h"
index 5de24d3..74ca7c5 100755 (executable)
@@ -13,6 +13,7 @@
  */
 
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <asterisk/channel.h>
 #include <asterisk/options.h>
 #include <asterisk/module.h>
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>