diff --git a/common/include/Utilities/Dependencies.h b/common/include/Utilities/Dependencies.h index c559d15efd..33c18106da 100644 --- a/common/include/Utilities/Dependencies.h +++ b/common/include/Utilities/Dependencies.h @@ -183,12 +183,22 @@ public: #include #include +#if defined(_WIN32) && wxMAJOR_VERSION >= 3 +#include +// This deals with a mode_t redefinition conflict. The mode_t doesn't seem to be +// used anywhere in w32pthreads, so I've chosen to use the wxWidgets mode_t +// (I think it's unsigned int vs signed int) +#include +#define HAVE_MODE_T +#endif + #include #include // string.h under c++ #include // stdio.h under c++ #include #include #include +#include #include "Pcsx2Defs.h"