Index: base/mac/mac_logging.h |
diff --git a/base/mac/mac_logging.h b/base/mac/mac_logging.h |
index c463a35c9c8acef96f628f7d837f887405e2d8d2..7db601c2892f8320dfac0ff8f032c120e70aacc9 100644 |
--- a/base/mac/mac_logging.h |
+++ b/base/mac/mac_logging.h |
@@ -6,9 +6,14 @@ |
#define BASE_MAC_MAC_LOGGING_H_ |
#pragma once |
-#include <libkern/OSTypes.h> |
- |
#include "base/logging.h" |
+#include "build/build_config.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 |