summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/player/main.c b/player/main.c
index 4c27ec3e19..50cde63e1d 100644
--- a/player/main.c
+++ b/player/main.c
@@ -64,6 +64,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
@@ -76,18 +84,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
-
const char mp_help_text[] =
"Usage: mpv [options] [url|path/]filename\n"
"\n"