=================================================================== RCS file: /cvs/mandoc/catman.c,v retrieving revision 1.20 retrieving revision 1.22 diff -u -p -r1.20 -r1.22 --- mandoc/catman.c 2017/02/17 14:31:52 1.20 +++ mandoc/catman.c 2020/06/14 23:40:31 1.22 @@ -1,4 +1,4 @@ -/* $Id: catman.c,v 1.20 2017/02/17 14:31:52 schwarze Exp $ */ +/* $Id: catman.c,v 1.22 2020/06/14 23:40:31 schwarze Exp $ */ /* * Copyright (c) 2017 Michael Stapelberg * Copyright (c) 2017 Ingo Schwarze @@ -17,7 +17,7 @@ */ #include "config.h" -#if HAVE_CMSG_XPG42 +#if NEED_XPG4_2 #define _XPG4_2 #endif @@ -40,10 +40,6 @@ #include #include #include - -#ifndef O_DIRECTORY -#define O_DIRECTORY 0 -#endif int process_manpage(int, int, const char *); int process_tree(int, int);