From 2b153df286d1f199f6c97fe75b6b03110ce3b81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Servant?= Date: Thu, 8 Dec 2016 16:04:37 -0500 Subject: [PATCH] Fix missing endian.h error on Cygwin --- eschalot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eschalot.c b/eschalot.c index ef918a8..d6c9f96 100644 --- a/eschalot.c +++ b/eschalot.c @@ -41,7 +41,7 @@ #define le64toh(x) OSSwapLittleToHostInt64(x) #endif /* __APPLE__ */ -#ifdef __linux__ +#if defined(__linux__) || defined(__CYGWIN__) # define _GNU_SOURCE # include #endif