summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/enchant-provider.h4
-rw-r--r--src/lib.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/enchant-provider.h b/src/enchant-provider.h
index 0447432..79ec8b9 100644
--- a/src/enchant-provider.h
+++ b/src/enchant-provider.h
@@ -34,10 +34,6 @@
#include <glib.h>
#include <stdio.h>
-#ifdef _WIN32
-#include <windows.h>
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/src/lib.c b/src/lib.c
index 3a81239..d87d2c7 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -39,6 +39,10 @@
#include <glib/gstdio.h>
#include <locale.h>
+#ifdef _WIN32
+#include <windows.h>
+#endif
+
#include "enchant.h"
#include "enchant-provider.h"
#include "pwl.h"