Merge "libcutils:  sdk(mac) build error (part deux)" am: ed0a48c617 am: 5a411029de
am: 01f8f8c586

Change-Id: Ic41cc11458f9ae17815a9c35f57fd2d25c368e78
diff --git a/libcutils/sockets_unix.cpp b/libcutils/sockets_unix.cpp
index 948d09c..5a14a5c 100644
--- a/libcutils/sockets_unix.cpp
+++ b/libcutils/sockets_unix.cpp
@@ -31,6 +31,10 @@
 
 #include "android_get_control_env.h"
 
+#ifndef TEMP_FAILURE_RETRY
+#define TEMP_FAILURE_RETRY(exp) (exp) // KISS implementation
+#endif
+
 #if defined(__ANDROID__)
 /* For the socket trust (credentials) check */
 #include <private/android_filesystem_config.h>