diff options
-rw-r--r-- | apropos_db.c | 6 | ||||
-rw-r--r-- | mandocdb.c | 6 | ||||
-rw-r--r-- | test-betoh64.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/apropos_db.c b/apropos_db.c index 125d0aa0..00570663 100644 --- a/apropos_db.c +++ b/apropos_db.c @@ -1,4 +1,4 @@ -/* $Id: apropos_db.c,v 1.32.2.7 2014/08/11 00:31:13 schwarze Exp $ */ +/* $Id: apropos_db.c,v 1.32.2.8 2014/08/14 04:13:30 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -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> @@ -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> 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> |