diff --git a/plugins/obs-outputs/librtmp/rtmp.c b/plugins/obs-outputs/librtmp/rtmp.c index 9f4d6333c..289ab5176 100644 --- a/plugins/obs-outputs/librtmp/rtmp.c +++ b/plugins/obs-outputs/librtmp/rtmp.c @@ -34,16 +34,16 @@ #include +#if !defined(MSG_NOSIGNAL) +#define MSG_NOSIGNAL 0 +#endif + #ifdef CRYPTO #ifdef __APPLE__ #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif -#if !defined(MSG_NOSIGNAL) -#define MSG_NOSIGNAL 0 -#endif - #if defined(USE_MBEDTLS) #if defined(_WIN32) #include