diff options
author | saturneric <[email protected]> | 2025-04-26 10:53:49 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-26 10:53:49 +0000 |
commit | b79f4533a42ce5c6fc18fb1dd68307243f71aa40 (patch) | |
tree | 9e595f2914d066c938c1eb8a18068108b6204373 | |
parent | fix: build issue on windows (diff) | |
download | GpgFrontend-develop.tar.gz GpgFrontend-develop.zip |
fix: include winsock2.h before windows.hdevelop
-rw-r--r-- | src/GpgFrontend.h.in | 3 |
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 |