summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorTobias <thm.frey@gmail.com>2018-07-12 18:26:27 +0200
committerbunnei <bunneidev@gmail.com>2018-07-12 09:26:27 -0700
commit316b933a31a22dafccc4884a224b202fa1062fbf (patch)
tree67b8166a63090efe643be846e24102721e047ca5 /src/yuzu_cmd/yuzu.cpp
parent4f41ffdd418a31b79df9a87406c28b3b152e147d (diff)
Port #3335 and #3373 from Citra: "Small SDL fixes" and "Print the actual error preventing SDL from working" (#637)
* Port #3335 and #3373 from Citra * Fixup: Use the new logging placeholders
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r--src/yuzu_cmd/yuzu.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 5f67ae4ee..f126bd277 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -22,10 +22,8 @@
#include "yuzu_cmd/config.h"
#include "yuzu_cmd/emu_window/emu_window_sdl2.h"
-#ifdef _MSC_VER
-#include <getopt.h>
-#else
#include <getopt.h>
+#ifndef _MSC_VER
#include <unistd.h>
#endif