aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/catman.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-08 16:11:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-08 16:11:40 +0000
commitb3d021af18b2745d4a2594b05bc4e605d918a9e3 (patch)
treeeebee3b5d5f59cd9135567e1efe2560a0b7e505a /catman.c
parent05ede23b72a253dad7a9e6f68dc14d4f2a1ea3c2 (diff)
downloadmandoc-b3d021af18b2745d4a2594b05bc4e605d918a9e3.tar.gz
mandoc-b3d021af18b2745d4a2594b05bc4e605d918a9e3.tar.zst
mandoc-b3d021af18b2745d4a2594b05bc4e605d918a9e3.zip
config glue for recvmsg(2) and CMSG_FIRSTHDR(3);
needed for Solaris 11
Diffstat (limited to 'catman.c')
-rw-r--r--catman.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/catman.c b/catman.c
index 6c9276d4..438474a5 100644
--- a/catman.c
+++ b/catman.c
@@ -1,4 +1,4 @@
-/* $Id: catman.c,v 1.15 2017/02/08 14:50:53 schwarze Exp $ */
+/* $Id: catman.c,v 1.16 2017/02/08 16:11:40 schwarze Exp $ */
/*
* Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org>
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -17,6 +17,10 @@
*/
#include "config.h"
+#if HAVE_CMSG_XPG42
+#define _XPG4_2
+#endif
+
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>