aboutsummaryrefslogtreecommitdiffstats
path: root/src/GpgFrontend.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/GpgFrontend.h.in')
-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