diff --git a/src/parser.h b/src/parser.h index 2f007af..211c502 100644 --- a/src/parser.h +++ b/src/parser.h @@ -14,6 +14,11 @@ #include #include +// fix compiling on OSX +#if defined(__APPLE__) + #define MSG_NOSIGNAL 0 +#endif + // Base command IDs per category. #define BASE_CMD_SYSTEM 0x0000 #define BASE_CMD_FILE 0x0100