summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2014-10-01 22:59:30 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2014-10-01 22:59:30 +0000
commit5b3be618b1063c95ea3d2be760f62edeaa89b00d (patch)
tree3071e6ae102f8cd69429ecc7e724dfe0d3532290
parentf7d4eb52aef5670270d5ba727431d0b2411cbc58 (diff)
parent70de9c0d585dcfe71e2cfd921438071e69ff5c45 (diff)
am 70de9c0d: Merge "include direct.h for _mkdir" into lmp-dev
* commit '70de9c0d585dcfe71e2cfd921438071e69ff5c45': include direct.h for _mkdir
-rw-r--r--tools/aapt/CacheUpdater.h3
-rw-r--r--tools/aidl/aidl.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/aapt/CacheUpdater.h b/tools/aapt/CacheUpdater.h
index 0e65589529e5..efb245361894 100644
--- a/tools/aapt/CacheUpdater.h
+++ b/tools/aapt/CacheUpdater.h
@@ -12,6 +12,9 @@
#include <sys/stat.h>
#include <stdio.h>
#include "Images.h"
+#ifdef HAVE_MS_C_RUNTIME
+#include <direct.h>
+#endif
using namespace android;
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