aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/catman.c
diff options
context:
space:
mode:
Diffstat (limited to 'catman.c')
-rw-r--r--catman.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/catman.c b/catman.c
index 438474a5..88a818ac 100644
--- a/catman.c
+++ b/catman.c
@@ -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 *)