aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-26 10:53:49 +0000
committersaturneric <[email protected]>2025-04-26 10:53:49 +0000
commitb79f4533a42ce5c6fc18fb1dd68307243f71aa40 (patch)
tree9e595f2914d066c938c1eb8a18068108b6204373
parentfix: build issue on windows (diff)
downloadGpgFrontend-develop.tar.gz
GpgFrontend-develop.zip
fix: include winsock2.h before windows.hdevelop
-rw-r--r--src/GpgFrontend.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GpgFrontend.h.in b/src/GpgFrontend.h.in
index e7a971d5..cfa49371 100644
--- a/src/GpgFrontend.h.in
+++ b/src/GpgFrontend.h.in
@@ -29,8 +29,9 @@
#pragma once
#if defined(_WIN32) || defined(WIN32)
-#include <windows.h>
#include <winsock2.h>
+// should include winsock2.h before windows.h
+#include <windows.h>
#endif
// qt global