X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d37acbdf1ce9faed1ef558c6d7db7128301d0a26..bed6fe0c16ea3f54fffb8797432c36ae355ba765:/src/regex/regex.h diff --git a/src/regex/regex.h b/src/regex/regex.h index a1fcec2e1c..b3e0e0a8ed 100644 --- a/src/regex/regex.h +++ b/src/regex/regex.h @@ -39,7 +39,14 @@ extern "C" { #endif -#include +// FreeBSD, Watcom and DMars require this, CW doesn't have nor need it. +// Others also don't seem to need it. If you have an error related to +// (not) including please report details to +// wx-dev@lists.wxwindows.org +#if defined(__UNIX__) || defined(__WATCOMC__) || defined(__DIGITALMARS__) +# include +#endif + #include #include