diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index 2032224d7..43fa11dde 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -19,6 +19,10 @@ extern PyTypeObject Screen_Type; #define EXTRA_FDS 2 +#ifndef MSG_NOSIGNAL +// Apple does not implement MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif static void (*parse_func)(Screen*, PyObject*);