summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin Adler <kadler@us.ibm.com>2020-11-02 17:21:17 (GMT)
committerKevin Adler <kadler@us.ibm.com>2020-11-13 21:40:51 (GMT)
commit1cb029b33cefe5a5937ca446a00528787f5bafe4 (patch)
treeda0a09e49cdd8ecebc404a9f7503e3be52f79e57 /src
parent3094b5c289b418b31e63ad2e7f52a38cf64e3dfc (diff)
downloadNinja-1cb029b33cefe5a5937ca446a00528787f5bafe4.zip
Ninja-1cb029b33cefe5a5937ca446a00528787f5bafe4.tar.gz
Ninja-1cb029b33cefe5a5937ca446a00528787f5bafe4.tar.bz2
Use internal getopt for IBM i and AIX
Diffstat (limited to 'src')
-rw-r--r--src/manifest_parser_perftest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/manifest_parser_perftest.cc b/src/manifest_parser_perftest.cc
index 92f5e13..853d8e0 100644
--- a/src/manifest_parser_perftest.cc
+++ b/src/manifest_parser_perftest.cc
@@ -25,6 +25,9 @@
#ifdef _WIN32
#include "getopt.h"
#include <direct.h>
+#elif defined(_AIX)
+#include "getopt.h"
+#include <unistd.h>
#else
#include <getopt.h>
#include <unistd.h>