diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-14 04:13:30 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-14 04:13:30 +0000 |
commit | b48b3766c360b23e26a10149be01193804cfa99b (patch) | |
tree | 6396866953e8c75d5ae507acdac7490c33e7ec1d /apropos_db.c | |
parent | b420a48fd0fb421dd84caf9dc10cbd6192ca7509 (diff) | |
download | mandoc-b48b3766c360b23e26a10149be01193804cfa99b.tar.gz |
Cygwin support; from Yaakov Selkowitz,
https://sourceforge.net/p/cygwin-ports/mdocml/ci/master/tree/
Diffstat (limited to 'apropos_db.c')
-rw-r--r-- | apropos_db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apropos_db.c b/apropos_db.c index df9fa98f..421c54d7 100644 --- a/apropos_db.c +++ b/apropos_db.c @@ -31,7 +31,7 @@ #if defined(__APPLE__) # include <libkern/OSByteOrder.h> -#elif defined(__linux__) +#elif defined(__linux__) || defined(__CYGWIN__) # include <endian.h> #elif defined(__sun) # include <sys/byteorder.h> @@ -39,7 +39,7 @@ # include <sys/endian.h> #endif -#if defined(__linux__) || defined(__sun) +#if defined(__linux__) || defined(__CYGWIN__) || defined(__sun) # include <db_185.h> #else # include <db.h> |