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