From b3d021af18b2745d4a2594b05bc4e605d918a9e3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Feb 2017 16:11:40 +0000 Subject: config glue for recvmsg(2) and CMSG_FIRSTHDR(3); needed for Solaris 11 --- mandocd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mandocd.c') diff --git a/mandocd.c b/mandocd.c index 47022606..b8a2b6dc 100644 --- a/mandocd.c +++ b/mandocd.c @@ -1,4 +1,4 @@ -/* $Id: mandocd.c,v 1.3 2017/02/06 19:02:37 schwarze Exp $ */ +/* $Id: mandocd.c,v 1.4 2017/02/08 16:11:41 schwarze Exp $ */ /* * Copyright (c) 2017 Michael Stapelberg * Copyright (c) 2017 Ingo Schwarze @@ -17,6 +17,10 @@ */ #include "config.h" +#if HAVE_CMSG_XPG42 +#define _XPG4_2 +#endif + #include #include -- cgit v1.2.3