summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2017-04-15 00:56:43 +0100
committerReuben Thomas <rrt@sc3d.org>2017-04-15 16:13:32 +0100
commita79bd8e6063f0a9b04c5b887a6080b95fce4a0ac (patch)
tree351e5053b2bde47882e13606caf8361bac8d8d34 /src
parent1cd4257d652b6034a1c9e128f29dc4175dcecff1 (diff)
downloadenchant-a79bd8e6063f0a9b04c5b887a6080b95fce4a0ac.tar.gz
enchant-provider.h: remove obsolete inclusion of windows.h
…and put it in lib.c where it is needed
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"