From da9b9540f344bce9bb9f7fed9a91524cbdc8749f Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Thu, 15 Sep 2016 00:03:18 +0900 Subject: [PATCH] Problem: MinGW cross compile is failed on Linux Solution: Use only lower case for header file name. We can find "wincrypt.h" by "WinCrypt.h" on Windows because Windows uses case insensitive file system. But we can't find "wincrypt.h" by "WinCrypt.h" on Linux Because Linux uses case sensitive file system. --- AUTHORS | 1 + src/tweetnacl.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index fc9bd513..ad647112 100644 --- a/AUTHORS +++ b/AUTHORS @@ -65,6 +65,7 @@ Joe Thornber Jon Dyte Kamil Shakirov Ken Steele +Kouhei Sutou Laurent Alebarde Leonardo J. Consoni Lourens Naudé diff --git a/src/tweetnacl.c b/src/tweetnacl.c index 666a864f..7095d5cc 100644 --- a/src/tweetnacl.c +++ b/src/tweetnacl.c @@ -852,7 +852,7 @@ int crypto_sign_open(u8 *m,u64 *mlen,const u8 *sm,u64 n,const u8 *pk) #ifdef ZMQ_HAVE_WINDOWS #include -#include +#include #define NCP ((HCRYPTPROV) 0)