diff --git a/netplay_compat.h b/netplay_compat.h index 50ab01d87c..3754a6528d 100644 --- a/netplay_compat.h +++ b/netplay_compat.h @@ -48,7 +48,9 @@ #include #include #include +#include +#define isagain(bytes) (bytes<0 && (errno==EAGAIN || errno==EWOULDBLOCK)) #if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__) #include #include