From 0e9a789e663b2f05e8e77136d64bd1c04747d17f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 20 Aug 2019 21:03:18 +0300 Subject: Windows.h > windows.h ... to enable cross-compilation from Ubuntu, where there's windows.h, and paths are case-sensitive. --- cxx/include/aesxx/debug.hpp | 2 +- src/error.c | 2 +- utils/decrypt_bmp.cpp | 2 +- utils/helpers/bmp.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cxx/include/aesxx/debug.hpp b/cxx/include/aesxx/debug.hpp index bf1fc9a..96e81b5 100644 --- a/cxx/include/aesxx/debug.hpp +++ b/cxx/include/aesxx/debug.hpp @@ -6,7 +6,7 @@ #pragma once #ifdef WIN32 -#include +#include #include #pragma comment(lib, "DbgHelp.Lib") #endif diff --git a/src/error.c b/src/error.c index 654c7a9..d49c456 100644 --- a/src/error.c +++ b/src/error.c @@ -151,7 +151,7 @@ size_t aes_format_error( } #ifdef WIN32 -#include +#include static void aes_collect_call_stack(AES_ErrorDetails* err_details) { diff --git a/utils/decrypt_bmp.cpp b/utils/decrypt_bmp.cpp index fc0b14a..9f9cd52 100644 --- a/utils/decrypt_bmp.cpp +++ b/utils/decrypt_bmp.cpp @@ -9,7 +9,7 @@ #include -#include +#include #include diff --git a/utils/helpers/bmp.hpp b/utils/helpers/bmp.hpp index 262198d..b4b283b 100644 --- a/utils/helpers/bmp.hpp +++ b/utils/helpers/bmp.hpp @@ -3,7 +3,7 @@ // For details, see https://github.com/egor-tensin/aes-tools. // Distributed under the MIT License. -#include +#include #include #include -- cgit v1.2.3