commit a301131b51c86ed790b3f47a360cd9cca1ef90a9
parent 75303bc85c77fe802d57e7762ab8ce736770631c
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date: Sun, 20 Apr 2025 22:56:44 -0700
Fix missing includes on Windows
Some files lost the #include <windows.h> after b2c1b1dd9
Diffstat:
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -150,6 +150,9 @@
#include "crash.h"
#include "timing.h"
+#ifdef G_OS_WIN32
+#include <windows.h>
+#endif
#ifdef HAVE_NETWORKMANAGER_SUPPORT
/* Went offline due to NetworkManager */
diff --git a/src/mimeview.c b/src/mimeview.c
@@ -53,6 +53,9 @@
#include "gtk/gtkvscrollbutton.h"
#include "gtk/logwindow.h"
#include "timing.h"
+#ifdef G_OS_WIN32
+#include <windows.h>
+#endif
#include "manage_window.h"
#include "privacy.h"
#include "file-utils.h"
diff --git a/src/msgcache.c b/src/msgcache.c
@@ -43,6 +43,9 @@
#include "procmsg.h"
#include "codeconv.h"
#include "timing.h"
+#ifdef G_OS_WIN32
+#include <windows.h>
+#endif
#include "tags.h"
#include "prefs_common.h"
#include "file-utils.h"