Merge pull request #4884 from citra-emu/wwylele-patch-1
Guard unistd.h with MacOS only macro
This commit is contained in:
commit
edf3171a07
|
@ -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