summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2012-07-11 08:15:53 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2012-07-11 08:20:46 (GMT)
commit4bb94c9fbd948ec18a3b40fef8378dda76cec0f0 (patch)
treee42e8d128523b546e4a5b4dd5352aacb50f97642 /Source/cmNinjaNormalTargetGenerator.cxx
parentbb3675999f26af14c25e652f9c614432156f3526 (diff)
downloadCMake-4bb94c9fbd948ec18a3b40fef8378dda76cec0f0.zip
CMake-4bb94c9fbd948ec18a3b40fef8378dda76cec0f0.tar.gz
CMake-4bb94c9fbd948ec18a3b40fef8378dda76cec0f0.tar.bz2
Ninja: sysconf() is declared in unistd.h
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 3e5ac41..be7739e 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -20,6 +20,11 @@
#include <assert.h>
#include <algorithm>
+#ifndef _WIN32
+#include <unistd.h>
+#endif
+
+
cmNinjaNormalTargetGenerator::
cmNinjaNormalTargetGenerator(cmTarget* target)
: cmNinjaTargetGenerator(target)