summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-06 18:31:51 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-06 18:31:51 +0000
commit175635e4e6d49cc526ca61415cd9480987251272 (patch)
treef24576473f22516f6d9581140a532726e911e403 /src/libs
parent3a6c9ddc1fc330e91915b659a0023da7199484e9 (diff)
- fixed compilation issues under FreeBSD (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2132 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/zbxcommon/regexp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/zbxcommon/regexp.c b/src/libs/zbxcommon/regexp.c
index ff517329..2f851e6b 100644
--- a/src/libs/zbxcommon/regexp.c
+++ b/src/libs/zbxcommon/regexp.c
@@ -1,11 +1,12 @@
#include "config.h"
#include <stdio.h>
-#include <regex.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
+#include <sys/types.h>
+#include <regex.h>
#define MAX_FILE_LEN 1024*1024