summaryrefslogtreecommitdiff
path: root/src/libunixonacid/unixmessage_sender_flush.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-21 01:43:39 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-21 01:43:39 +0000
commit31009f586a04251df0fb5853017ecfcaf70b307f (patch)
tree55848e7a769cfa4134c80933ed9527c11bfe44c0 /src/libunixonacid/unixmessage_sender_flush.c
parent4557dacfbe04206c57e459b734016d2b6edfe7f3 (diff)
downloadskalibs-31009f586a04251df0fb5853017ecfcaf70b307f.tar.xz
So MSG_WAITALL can block even with MSG_DONTWAIT... wtfbsdseriously.
Only include MSG_WAITALL when it's tested nb, then. Also test yet another fix for the tryancilautoclose FreeBSD problem.
Diffstat (limited to 'src/libunixonacid/unixmessage_sender_flush.c')
-rw-r--r--src/libunixonacid/unixmessage_sender_flush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libunixonacid/unixmessage_sender_flush.c b/src/libunixonacid/unixmessage_sender_flush.c
index 5c5ad2b..a115c58 100644
--- a/src/libunixonacid/unixmessage_sender_flush.c
+++ b/src/libunixonacid/unixmessage_sender_flush.c
@@ -1,6 +1,9 @@
/* ISC license. */
+#ifndef _XPG4_2
#define _XPG4_2
+#endif
+
#include <skalibs/sysdeps.h>
#include <skalibs/nonposix.h>
#include <sys/socket.h>