From abfc266c9ddf762b50aee6c73be6b252074ef05a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 9 Feb 2017 18:46:44 +0000 Subject: Illumos doesn't have O_DIRECTORY. Work around that for now, may fix it better after the 1.14.1 release. Portability issue reported by Sevan Janiyan . --- catman.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'catman.c') diff --git a/catman.c b/catman.c index a71b5295..f9970dad 100644 --- a/catman.c +++ b/catman.c @@ -41,6 +41,10 @@ #include #include +#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 *) -- cgit