aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-betoh64.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 /test-betoh64.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 'test-betoh64.c')
-rw-r--r--test-betoh64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-betoh64.c b/test-betoh64.c
index d33f4017..90dc84fe 100644
--- a/test-betoh64.c
+++ b/test-betoh64.c
@@ -1,6 +1,6 @@
#include <sys/types.h>
-#if defined(__linux__)
+#if defined(__linux__) || defined(__CYGWIN__)
# include <endian.h>
#elif defined(__APPLE__)
# include <libkern/OSByteOrder.h>