summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessUNIX.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-13 19:19:45 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-13 19:19:45 (GMT)
commitd3f1410be31ef3ec685cf88f40abc2177a1a190f (patch)
tree9022b7b3df6d6657f9321a30c6de6d10f40f47b1 /Source/kwsys/ProcessUNIX.c
parent1f40a4205b23f7c7f58b55a89cad0d0c5bd65bda (diff)
downloadCMake-d3f1410be31ef3ec685cf88f40abc2177a1a190f.zip
CMake-d3f1410be31ef3ec685cf88f40abc2177a1a190f.tar.gz
CMake-d3f1410be31ef3ec685cf88f40abc2177a1a190f.tar.bz2
ERR: Added include of sys/stat.h for open functions mode bits.
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r--Source/kwsys/ProcessUNIX.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index 42c9dad..2491f48 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -50,6 +50,7 @@ do.
#include <sys/time.h> /* struct timeval */
#include <sys/types.h> /* pid_t, fd_set */
#include <sys/wait.h> /* waitpid */
+#include <sys/stat.h> /* open mode */
#include <unistd.h> /* pipe, close, fork, execvp, select, _exit */
#include <fcntl.h> /* fcntl */
#include <errno.h> /* errno */