]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/regex.cpp
fixed wxStrrchr(s, '\0') bug, added const and non const versions of wxStrchr, wxStrrc...
[wxWidgets.git] / src / common / regex.cpp
index 1d5a9f6323481726cbee6b8ade87a7cf0555e38f..7b480f24c80e18a686e0a84bd3812c4c96f25b48 100644 (file)
@@ -38,8 +38,8 @@
     #include "wx/intl.h"
 #endif //WX_PRECOMP
 
-// FreeBSD requires this, it probably doesn't hurt for others
-#ifdef __UNIX__
+// FreeBSD & Watcom require this, it probably doesn't hurt for others
+#if defined(__UNIX__) || defined(__WATCOMC__)
     #include <sys/types.h>
 #endif