summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-26 23:33:28 -0700
committerDan Albert <danalbert@google.com>2015-03-26 23:33:28 -0700
commit94d1360f7eacd52771fb7030b26aeb722a584bd5 (patch)
treec5727be396f1b332083aad6e3a12967773c6b719
parent87378814a06f6fa2d22026cbcb2f54be4b65e6c6 (diff)
downloadsystem_core-94d1360f7eacd52771fb7030b26aeb722a584bd5.zip
system_core-94d1360f7eacd52771fb7030b26aeb722a584bd5.tar.gz
system_core-94d1360f7eacd52771fb7030b26aeb722a584bd5.tar.bz2
Pull in Windows compatibility header.
Needed for O_CLOEXEC, O_NOFOLLOW, and DEFFILEMODE. Change-Id: Id6c0465a6559c30ac8c085c28be0d47c9738f02a
-rw-r--r--base/file.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/file.cpp b/base/file.cpp
index 118071e..a51c5ff 100644
--- a/base/file.cpp
+++ b/base/file.cpp
@@ -26,6 +26,7 @@
#include "base/macros.h" // For TEMP_FAILURE_RETRY on Darwin.
#define LOG_TAG "base.file"
#include "cutils/log.h"
+#include "utils/Compat.h"
namespace android {
namespace base {