summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/main.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/player/main.c b/player/main.c
index bf97a39a3a..de88d0b817 100644
--- a/player/main.c
+++ b/player/main.c
@@ -67,6 +67,14 @@
#include "command.h"
#include "screenshot.h"
+#if defined(__MINGW32__) || defined(__CYGWIN__)
+#include <windows.h>
+
+#ifndef BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE
+#define BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE (0x0001)
+#endif
+#endif
+
#if HAVE_X11
#include "video/out/x11_common.h"
#endif
@@ -79,18 +87,6 @@
#include <pthread.h>
#endif
-#if defined(__MINGW32__) || defined(__CYGWIN__)
-#include <windows.h>
-
-#ifndef BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE
-#define BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE (0x0001)
-#endif
-
-#ifndef BASE_SEARCH_PATH_PERMANENT
-#define BASE_SEARCH_PATH_PERMANENT (0x8000)
-#endif
-#endif
-
static bool terminal_initialized;
const char mp_help_text[] =