summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--catman.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/catman.c b/catman.c
index a71b5295..f9970dad 100644
--- a/catman.c
+++ b/catman.c
@@ -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 *)