Guard unistd.h with MacOS only macro
Fix compile error on Windows caused by #4877 Weird, I thought I saw this guard during the code review...
This commit is contained in:
parent
2f0ea48da4
commit
50ab002072
|
@ -15,7 +15,9 @@
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#include <QtWidgets>
|
#include <QtWidgets>
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
#include <unistd.h>
|
#ifdef __APPLE__
|
||||||
|
#include <unistd.h> // for chdir
|
||||||
|
#endif
|
||||||
#include "citra_qt/aboutdialog.h"
|
#include "citra_qt/aboutdialog.h"
|
||||||
#include "citra_qt/applets/mii_selector.h"
|
#include "citra_qt/applets/mii_selector.h"
|
||||||
#include "citra_qt/applets/swkbd.h"
|
#include "citra_qt/applets/swkbd.h"
|
||||||
|
|
Reference in New Issue