]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for Watcom
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Dec 2001 22:51:08 +0000 (22:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Dec 2001 22:51:08 +0000 (22:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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