From ca02bffc6cd61076581a39049598dae2b3cc2067 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Fri, 25 Dec 2009 18:58:25 +0000 Subject: [PATCH] We'll need to include signal.h if we're raising signals. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2398 96395faa-99c1-11dd-bbfe-3dabce05a288 --- common/include/Pcsx2Defs.h | 3 +++ common/src/Utilities/Exceptions.cpp | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/common/include/Pcsx2Defs.h b/common/include/Pcsx2Defs.h index 4522dc880..d1a65cc04 100644 --- a/common/include/Pcsx2Defs.h +++ b/common/include/Pcsx2Defs.h @@ -16,6 +16,9 @@ #ifndef __PCSX2DEFS_H__ #define __PCSX2DEFS_H__ +// Indicate that this is the wx port to the plugins. +#define WX_PCSX2 + #if defined (__linux__) && !defined(__LINUX__) // some distributions are lower case # define __LINUX__ #endif diff --git a/common/src/Utilities/Exceptions.cpp b/common/src/Utilities/Exceptions.cpp index 6d7953f10..9b4805500 100644 --- a/common/src/Utilities/Exceptions.cpp +++ b/common/src/Utilities/Exceptions.cpp @@ -19,6 +19,10 @@ #include "Threading.h" #include "TlsVariable.inl" +#if defined(__UNIX__) +#include +#endif + wxString GetEnglish( const char* msg ) { return fromUTF8(msg);