=================================================================== RCS file: /cvs/mandoc/mandocd.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- mandoc/mandocd.c 2017/02/06 19:02:37 1.3 +++ mandoc/mandocd.c 2017/02/08 16:11:41 1.4 @@ -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 @@ -16,6 +16,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include "config.h" + +#if HAVE_CMSG_XPG42 +#define _XPG4_2 +#endif #include #include