Some Qt for Mac fixes.

This commit is contained in:
C.W. Betts 2022-05-26 15:23:38 -06:00 committed by tellowkrinkle
parent 30096a5ae4
commit 66c6c2400a
3 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/sysctl.h> #include <sys/sysctl.h>
#include <mach/mach_time.h> #include <mach/mach_time.h>
#include <wx/string.h>
#include "common/Pcsx2Types.h" #include "common/Pcsx2Types.h"
#include "common/General.h" #include "common/General.h"

View File

@ -22,6 +22,7 @@
#include <errno.h> #include <errno.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/select.h>
#define SD_RECEIVE SHUT_RD #define SD_RECEIVE SHUT_RD
#endif #endif

View File

@ -16,6 +16,8 @@
#include "PrecompiledHeader.h" #include "PrecompiledHeader.h"
#include "AsyncFileReader.h" #include "AsyncFileReader.h"
#include "common/FileSystem.h" #include "common/FileSystem.h"
#include <unistd.h>
#include <fcntl.h>
// The aio module has been reported to cause issues with FreeBSD 10.3, so let's // The aio module has been reported to cause issues with FreeBSD 10.3, so let's
// disable it for 10.3 and earlier and hope FreeBSD 11 and onwards is fine. // disable it for 10.3 and earlier and hope FreeBSD 11 and onwards is fine.