Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Mednis <Andris.Mednis@zabbix.com>2017-01-06 15:36:06 +0300
committerAndris Mednis <Andris.Mednis@zabbix.com>2017-01-06 15:36:06 +0300
commit17910774859e609101b86ecb2363fc6dc5275b35 (patch)
tree805989f62a36cca540e03b267c071cddc04c0e4f /include/zbxregexp.h
parent7820074ecaa14f4c530454e9d219e2ce9ebbbb4a (diff)
...G...PS. [ZBXNEXT-491] fixed agent compilation on Windows, moved variable definition
Diffstat (limited to 'include/zbxregexp.h')
-rw-r--r--include/zbxregexp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/zbxregexp.h b/include/zbxregexp.h
index 50dab3871f8..0f6b579ccaf 100644
--- a/include/zbxregexp.h
+++ b/include/zbxregexp.h
@@ -34,6 +34,10 @@ typedef struct
}
zbx_expression_t;
+#ifdef _WINDOWS
+# include "gnuregex.h"
+#endif
+
/* regular expressions */
int zbx_regexp_compile(const char *regex_txt, int flags, regex_t *regex_compiled, char **error);
int zbx_regexp_exec(const char *string, const regex_t *regex_compiled, int flags, size_t count,