Merge "libcutils: sdk(mac) build error (part deux)"
am: ed0a48c617
Change-Id: Id6d3a5568a3383111592fd097ab8c96568783522
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>