Ninja: sysconf() is declared in unistd.h

This commit is contained in:
Peter Kümmel 2012-07-11 10:15:53 +02:00
parent bb3675999f
commit 4bb94c9fbd
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@
#include <assert.h>
#include <algorithm>
#ifndef _WIN32
#include <unistd.h>
#endif
cmNinjaNormalTargetGenerator::
cmNinjaNormalTargetGenerator(cmTarget* target)
: cmNinjaTargetGenerator(target)