summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-07-24 10:53:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-07-24 10:53:00 +0000
commit97714b8e41f7539a67d6da56f1d926b683dc8351 (patch)
tree18d3a2f50b5b47cdb09925e398e91ddf92eb90cf /src
parent11ff79c65649a1c97bf2e6dce30dccc35df9e860 (diff)
downloadskalibs-97714b8e41f7539a67d6da56f1d926b683dc8351.tar.xz
ipc_timed_send workaround for the usual OpenBSD braindead headers
Diffstat (limited to 'src')
-rw-r--r--src/libunixonacid/ipc_timed_send.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libunixonacid/ipc_timed_send.c b/src/libunixonacid/ipc_timed_send.c
index 9ba1e32..2129ec7 100644
--- 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