From 6896fb06a42042b6ea91adeab5d9b1960bcfb156 Mon Sep 17 00:00:00 2001
From: Egor Tensin <Egor.Tensin@gmail.com>
Date: Sun, 24 Jan 2021 01:05:45 +0300
Subject: Windows.h -> windows.h, for MinGW builds

---
 src/cmd_line.hpp | 2 +-
 src/error.hpp    | 2 +-
 src/handle.hpp   | 2 +-
 src/main.cpp     | 4 ++--
 src/os.hpp       | 2 +-
 src/process.cpp  | 2 +-
 src/process.hpp  | 2 +-
 src/resource.hpp | 2 +-
 src/sid.cpp      | 2 +-
 src/sid.hpp      | 2 +-
 src/token.cpp    | 2 +-
 src/token.hpp    | 2 +-
 12 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/cmd_line.hpp b/src/cmd_line.hpp
index 18ea496..ae96ed5 100644
--- a/src/cmd_line.hpp
+++ b/src/cmd_line.hpp
@@ -8,7 +8,7 @@
 #include "error.hpp"
 #include "string.hpp"
 
-#include <Windows.h>
+#include <windows.h>
 #include <shellapi.h>
 
 #include <cstddef>
diff --git a/src/error.hpp b/src/error.hpp
index 40522bb..04ec8c9 100644
--- a/src/error.hpp
+++ b/src/error.hpp
@@ -5,7 +5,7 @@
 
 #pragma once
 
-#include <Windows.h>
+#include <windows.h>
 
 #include <exception>
 #include <system_error>
diff --git a/src/handle.hpp b/src/handle.hpp
index 99b5292..4bc0a97 100644
--- a/src/handle.hpp
+++ b/src/handle.hpp
@@ -5,7 +5,7 @@
 
 #pragma once
 
-#include <Windows.h>
+#include <windows.h>
 
 #include <cassert>
 
diff --git a/src/main.cpp b/src/main.cpp
index 511cb02..4065a5e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -11,8 +11,8 @@
 #include "sid.hpp"
 #include "token.hpp"
 
-#include <Windows.h>
-#include <CommCtrl.h>
+#include <commctrl.h>
+#include <windows.h>
 #include <windowsx.h>
 
 #include <exception>
diff --git a/src/os.hpp b/src/os.hpp
index 6734fb4..f6f169f 100644
--- a/src/os.hpp
+++ b/src/os.hpp
@@ -7,7 +7,7 @@
 
 #include "error.hpp"
 
-#include <Windows.h>
+#include <windows.h>
 
 namespace os
 {
diff --git a/src/process.cpp b/src/process.cpp
index a0618fa..a2eddc0 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -7,7 +7,7 @@
 #include "error.hpp"
 #include "process.hpp"
 
-#include <Windows.h>
+#include <windows.h>
 #include <shellapi.h>
 
 #include <array>
diff --git a/src/process.hpp b/src/process.hpp
index 53fcdf8..c27dc3e 100644
--- a/src/process.hpp
+++ b/src/process.hpp
@@ -8,7 +8,7 @@
 #include "error.hpp"
 #include "cmd_line.hpp"
 
-#include <Windows.h>
+#include <windows.h>
 
 #include <string>
 
diff --git a/src/resource.hpp b/src/resource.hpp
index a0f1cc3..6039fab 100644
--- a/src/resource.hpp
+++ b/src/resource.hpp
@@ -8,7 +8,7 @@
 #include "error.hpp"
 #include "process.hpp"
 
-#include <Windows.h>
+#include <windows.h>
 
 #include <cstddef>
 
diff --git a/src/sid.cpp b/src/sid.cpp
index 879e4a7..7a0e252 100644
--- a/src/sid.cpp
+++ b/src/sid.cpp
@@ -6,7 +6,7 @@
 #include "error.hpp"
 #include "sid.hpp"
 
-#include <Windows.h>
+#include <windows.h>
 #include <sddl.h>
 
 #include <memory>
diff --git a/src/sid.hpp b/src/sid.hpp
index c84b725..2dc6111 100644
--- a/src/sid.hpp
+++ b/src/sid.hpp
@@ -5,7 +5,7 @@
 
 #pragma once
 
-#include <Windows.h>
+#include <windows.h>
 #include <sddl.h>
 
 #include <array>
diff --git a/src/token.cpp b/src/token.cpp
index ca08e03..f7ad38e 100644
--- a/src/token.cpp
+++ b/src/token.cpp
@@ -8,7 +8,7 @@
 #include "os.hpp"
 #include "sid.hpp"
 
-#include <Windows.h>
+#include <windows.h>
 
 #include <string>
 #include <unordered_map>
diff --git a/src/token.hpp b/src/token.hpp
index 509a15c..5ad32bf 100644
--- a/src/token.hpp
+++ b/src/token.hpp
@@ -8,7 +8,7 @@
 #include "handle.hpp"
 #include "sid.hpp"
 
-#include <Windows.h>
+#include <windows.h>
 
 #include <string>
 
-- 
cgit v1.2.3