summaryrefslogtreecommitdiff
path: root/libcutils/sockets_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcutils/sockets_unix.cpp')
-rw-r--r--libcutils/sockets_unix.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcutils/sockets_unix.cpp b/libcutils/sockets_unix.cpp
index 948d09c60..5a14a5c5e 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>