Index: base/mac/mac_logging.h |
diff --git a/base/mac/mac_logging.h b/base/mac/mac_logging.h |
index c463a35c9c8acef96f628f7d837f887405e2d8d2..112b1a9e3034ca33d0640c2a18fac2f637f4a45f 100644 |
--- a/base/mac/mac_logging.h |
+++ b/base/mac/mac_logging.h |
@@ -6,10 +6,15 @@ |
#define BASE_MAC_MAC_LOGGING_H_ |
#pragma once |
-#include <libkern/OSTypes.h> |
- |
+#include "base/compiler_specific.h" |
#include "base/logging.h" |
+#if defined(OS_IOS) |
+#include "MacTypes.h" |
+#else |
+#include <libkern/OSTypes.h> |
+#endif |
+ |
// Use the OSSTATUS_LOG family to log messages related to errors in Mac OS X |
// system routines that report status via an OSStatus or OSErr value. It is |
// similar to the PLOG family which operates on errno, but because there is no |