From: Dmitry Kozlyuk Date: Thu, 27 Feb 2020 04:25:32 +0000 (+0300) Subject: eal/windows: use lowercase filenames for system headers X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=78542ed2c7bf68ecc6ee294b1883fe08b6b852a3;p=dpdk.git eal/windows: use lowercase filenames for system headers Mixed case in Windows header names causes errors when cross-compiling from Linux with case-sensitive filesystem using MinGW, because MinGW distribution provides all platform SDK headers in lowercase. The change does not affect Windows native builds on case-insensitive filesystems (NTFS default). Reported-by: Narcisa Vasile Reported-by: William Tu Signed-off-by: Dmitry Kozlyuk Tested-by: William Tu Tested-by: Pallavi Kadam Acked-by: Pallavi Kadam --- diff --git a/lib/librte_eal/windows/eal/include/pthread.h b/lib/librte_eal/windows/eal/include/pthread.h index 4ac24de0aa..b9dd18e568 100644 --- a/lib/librte_eal/windows/eal/include/pthread.h +++ b/lib/librte_eal/windows/eal/include/pthread.h @@ -14,7 +14,7 @@ extern "C" { #endif -#include +#include #define PTHREAD_BARRIER_SERIAL_THREAD TRUE diff --git a/lib/librte_eal/windows/eal/include/rte_os.h b/lib/librte_eal/windows/eal/include/rte_os.h index c76be12168..95a19b2d3a 100644 --- a/lib/librte_eal/windows/eal/include/rte_os.h +++ b/lib/librte_eal/windows/eal/include/rte_os.h @@ -15,8 +15,8 @@ extern "C" { #endif -#include -#include +#include +#include #include #include