diff options
-rw-r--r-- | catman.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: catman.c,v 1.16 2017/02/08 16:11:40 schwarze Exp $ */ +/* $Id: catman.c,v 1.17 2017/02/09 18:46:44 schwarze Exp $ */ /* * Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org> * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -41,6 +41,10 @@ #include <time.h> #include <unistd.h> +#ifndef O_DIRECTORY +#define O_DIRECTORY 0 +#endif + int process_manpage(int, int, const char *); int process_tree(int, int); void run_mandocd(int, const char *, const char *) |