summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 09a0fa8c357..aa50593abf4 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1002,11 +1002,11 @@ public:
#ifdef USE_REGEX
-#include <regex.h>
+#include "my_regex.h"
class Item_func_regex :public Item_bool_func
{
- regex_t preg;
+ my_regex_t preg;
bool regex_compiled;
bool regex_is_const;
String prev_regexp;