diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-11 08:15:53 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-11 08:20:46 (GMT) |
commit | 4bb94c9fbd948ec18a3b40fef8378dda76cec0f0 (patch) | |
tree | e42e8d128523b546e4a5b4dd5352aacb50f97642 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | bb3675999f26af14c25e652f9c614432156f3526 (diff) | |
download | CMake-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.cxx | 5 |
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) |