diff options
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index af80d5c..0189b3e 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -15,8 +15,12 @@ #include "ninja.h" #include <errno.h> +#ifdef WIN32 +#include "getopt.h" +#else #include <getopt.h> #include <limits.h> +#endif #include <stdio.h> #include <string.h> #include <sys/stat.h> |