diff options
author | Jon Turney <[email protected]> | 2017-11-27 13:32:53 +0000 |
---|---|---|
committer | Jon Turney <[email protected]> | 2017-11-29 14:04:40 +0000 |
commit | 2c62ccb10a7f3a2962f51688a3ae957254c5ce9b (patch) | |
tree | db2b6525aca535c943999bc1e16ffb725b4bffec | |
parent | 6d540aa092d5d78dde643af40257444567bf7b95 (diff) |
util: Also include endian.h on cygwin
If u_endian.h can't determine the endianess, the default behaviour in sha1.c
is to build for big-endian
Signed-off-by: Jon Turney <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/util/u_endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_endian.h b/src/util/u_endian.h index 50f94c578ed..22d011ec008 100644 --- a/src/util/u_endian.h +++ b/src/util/u_endian.h @@ -27,7 +27,7 @@ #ifndef U_ENDIAN_H #define U_ENDIAN_H -#if defined(__GLIBC__) || defined(ANDROID) +#if defined(__GLIBC__) || defined(ANDROID) || defined(__CYGWIN__) #include <endian.h> #if __BYTE_ORDER == __LITTLE_ENDIAN |