summaryrefslogtreecommitdiff
path: root/tests/EnchantTestFixture.h
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2017-04-21 00:52:19 +0100
committerReuben Thomas <rrt@sc3d.org>2017-04-21 00:52:19 +0100
commit72567f9f1295344dd0e20edff17e018de321d50a (patch)
tree86817d8c5c54a814d0ba82b8fbd44f0562054a64 /tests/EnchantTestFixture.h
parent46f0bcba2dda743c02836b289987c855c2e43521 (diff)
downloadenchant-72567f9f1295344dd0e20edff17e018de321d50a.tar.gz
EnchantTestFixture.h: remove redundant includes
Diffstat (limited to 'tests/EnchantTestFixture.h')
-rw-r--r--tests/EnchantTestFixture.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/EnchantTestFixture.h b/tests/EnchantTestFixture.h
index 1b3ce99..20d2ffa 100644
--- a/tests/EnchantTestFixture.h
+++ b/tests/EnchantTestFixture.h
@@ -22,15 +22,11 @@
#ifndef __ENCHANTTESTFIXTURE
#define __ENCHANTTESTFIXTURE
-#ifdef _WIN32
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#include <shlwapi.h>
-#include <io.h>
-#else
-#include <fcntl.h> /* For creat; should not be needed, but gstdio.h does not include fcntl.h */
-#endif
#include <assert.h>
+#include <glib.h>
+#ifdef G_OS_UNIX
+#include <fcntl.h> /* For creat; FIXME: should not be needed */
+#endif
#include <glib/gstdio.h>
#include <sys/stat.h>
#include <unistd.h>