diff --git a/winpr/include/winpr/interlocked.h b/winpr/include/winpr/interlocked.h index 48bcca0a5..e9e937a79 100644 --- a/winpr/include/winpr/interlocked.h +++ b/winpr/include/winpr/interlocked.h @@ -31,10 +31,12 @@ extern "C" { #ifndef _WIN32 +#ifdef __IOS__ /* workaround for SLIST_ENTRY conflict */ #include #undef SLIST_ENTRY +#endif #ifndef CONTAINING_RECORD #define CONTAINING_RECORD(address, type, field) \