commit 97714b8e41f7539a67d6da56f1d926b683dc8351
parent 11ff79c65649a1c97bf2e6dce30dccc35df9e860
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sun, 24 Jul 2016 10:53:00 +0000
ipc_timed_send workaround for the usual OpenBSD braindead headers
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/libunixonacid/ipc_timed_send.c b/src/libunixonacid/ipc_timed_send.c
@@ -1,5 +1,8 @@
/* ISC license. */
+ /* For OpenBSD, that still doesn't know what self-contained headers are */
+#include <sys/types.h>
+
#include <sys/socket.h>
#include <errno.h>
#include <skalibs/error.h>
@@ -7,7 +10,7 @@
#include <skalibs/iopause.h>
#include <skalibs/unix-timed.h>
- /* Yay MacOS */
+ /* For MacOS, that still doesn't know what POSIX says */
#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
#endif