From 0f2ecc913ba8f6998a3c77001e20210aca0b9d0a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 19 Jul 2001 20:54:49 +0000 Subject: [PATCH] FreeBSD compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/regex.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/regex.cpp b/src/common/regex.cpp index c03e612601..db11e97cec 100644 --- a/src/common/regex.cpp +++ b/src/common/regex.cpp @@ -38,6 +38,11 @@ #include "wx/intl.h" #endif //WX_PRECOMP +// FreeBSD requires this, it probably doesn't hurt for others +#ifdef __UNIX__ + #include +#endif + #include #include "wx/regex.h"