summaryrefslogtreecommitdiff
path: root/tools/aidl
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-05-07 20:14:30 +0800
committerStephen Hines <srhines@google.com>2014-09-30 02:28:05 -0700
commitc9d32390e59d99c76b79edd247a1127088ce81ec (patch)
treeaa1ecc14b318c0a93dbedf8fb7d76c2e3008c25e /tools/aidl
parent38646c19d8badea143113c0dc48ccdacb18badc4 (diff)
include direct.h for _mkdir
Bug: 14416410 The new mingw-w64 toolchain x86_64-w64-mingw32-4.8 no longer declares _mkdir in io.h. Change-Id: I624b52d2f35db54a7f28df09f997fc883b0f0557
Diffstat (limited to 'tools/aidl')
-rw-r--r--tools/aidl/aidl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp
index 9c1867e14a8f..45dd23b911e3 100644
--- a/tools/aidl/aidl.cpp
+++ b/tools/aidl/aidl.cpp
@@ -16,6 +16,7 @@
#ifdef HAVE_MS_C_RUNTIME
#include <io.h>
+#include <direct.h>
#include <sys/stat.h>
#endif