X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aee09a34bdeea9a65ecd7258d9e87f44b3d5e25..288efe84da6dc93db88c0a89f6be66e0ef4545f3:/src/common/regex.cpp

diff --git a/src/common/regex.cpp b/src/common/regex.cpp
index 1d5a9f6323..7b480f24c8 100644
--- a/src/common/regex.cpp
+++ b/src/common/regex.cpp
@@ -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