diff --git a/ext/native/base/buffer.cpp b/ext/native/base/buffer.cpp index 910a19bd7c..9b268976bb 100644 --- a/ext/native/base/buffer.cpp +++ b/ext/native/base/buffer.cpp @@ -13,6 +13,11 @@ #include #endif +#ifndef MSG_NOSIGNAL +// Default value to 0x00 (do nothing) in systems where it's not supported. +#define MSG_NOSIGNAL 0x00 +#endif + #include "base/logging.h" #include "base/timeutil.h" #include "file/fd_util.h"