Revert "Revert "Add commonly used C++ macros to libbase.""

This reverts commit 0722bae7892cc7ce9f056138ad38dfaec38bf5de.
diff --git a/base/file.cpp b/base/file.cpp
index 773f33b..118071e 100644
--- a/base/file.cpp
+++ b/base/file.cpp
@@ -23,9 +23,9 @@
 
 #include <string>
 
+#include "base/macros.h"  // For TEMP_FAILURE_RETRY on Darwin.
 #define LOG_TAG "base.file"
 #include "cutils/log.h"
-#include "utils/Compat.h"  // For TEMP_FAILURE_RETRY on Darwin.
 
 namespace android {
 namespace base {