diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 16:11:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 16:11:40 +0000 |
commit | b3d021af18b2745d4a2594b05bc4e605d918a9e3 (patch) | |
tree | eebee3b5d5f59cd9135567e1efe2560a0b7e505a /mandocd.c | |
parent | 05ede23b72a253dad7a9e6f68dc14d4f2a1ea3c2 (diff) | |
download | mandoc-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 'mandocd.c')
-rw-r--r-- | mandocd.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 <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> |