aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocdb.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-14 04:13:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-14 04:13:30 +0000
commitbbc1cc9c5e6f47b98e30f1bbc039bc390922804e (patch)
tree5c0a431384bc9570aaca25d67d18d19c004c047b /mandocdb.c
parent65e93d2bb2b1e6e21c88c607d011bc98f80b975f (diff)
downloadmandoc-bbc1cc9c5e6f47b98e30f1bbc039bc390922804e.tar.gz
mandoc-bbc1cc9c5e6f47b98e30f1bbc039bc390922804e.tar.zst
mandoc-bbc1cc9c5e6f47b98e30f1bbc039bc390922804e.zip
Cygwin support; from Yaakov Selkowitz,
https://sourceforge.net/p/cygwin-ports/mdocml/ci/master/tree/
Diffstat (limited to 'mandocdb.c')
-rw-r--r--mandocdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mandocdb.c b/mandocdb.c
index 27047d14..c5b844e2 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -1,4 +1,4 @@
-/* $Id: mandocdb.c,v 1.49.2.17 2014/08/11 00:31:13 schwarze Exp $ */
+/* $Id: mandocdb.c,v 1.49.2.18 2014/08/14 04:13:30 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>
@@ -34,7 +34,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>
@@ -43,7 +43,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>