X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1fa940272690e30643edb754da05cb9f8b3dbbc..da817fa6ebbe54afe26b7536255699294abe4dfd:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index aa2ff4a0a2..ad650d57e8 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -14,7 +14,9 @@ #ifndef _WX_WXCHAR_H_ #define _WX_WXCHAR_H_ -#include "wx/defs.h" /* for wxUSE_UNICODE */ +/* defs.h indirectly includes this file, so don't include it here */ +#include "wx/platform.h" +#include "wx/dlimpexp.h" #if defined(HAVE_STRTOK_R) && defined(__DARWIN__) && defined(_MSL_USING_MW_C_HEADERS) && _MSL_USING_MW_C_HEADERS char *strtok_r(char *, const char *, char **); @@ -48,7 +50,7 @@ /* Standard headers we need here. - NB: don't include any wxWidgets headers here because almost of them include + NB: don't include any wxWidgets headers here because almost all of them include this one! */