=================================================================== RCS file: /cvs/mandoc/mandocd.c,v retrieving revision 1.3 retrieving revision 1.5 diff -u -p -r1.3 -r1.5 --- mandoc/mandocd.c 2017/02/06 19:02:37 1.3 +++ mandoc/mandocd.c 2017/02/17 14:31:52 1.5 @@ -1,4 +1,4 @@ -/* $Id: mandocd.c,v 1.3 2017/02/06 19:02:37 schwarze Exp $ */ +/* $Id: mandocd.c,v 1.5 2017/02/17 14:31:52 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 @@ -45,7 +49,7 @@ enum outt { static void process(struct mparse *, enum outt, void *); static int read_fds(int, int *); -static void usage(void) __attribute__((noreturn)); +static void usage(void) __attribute__((__noreturn__)); #define NUM_FDS 3