aboutsummaryrefslogtreecommitdiffstats
path: root/src/tokenizers
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-29 20:35:00 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-29 20:35:00 +0400
commit4c4773d96b1b2a157009590908fce032696281c5 (patch)
treec9709f5a21b4eafbfee04327884cb5c6d39006e4 /src/tokenizers
parent513e304bc6255492eee5c78c97d222037087f429 (diff)
downloadrspamd-4c4773d96b1b2a157009590908fce032696281c5.tar.gz
rspamd-4c4773d96b1b2a157009590908fce032696281c5.zip
* Fix build under CentOS 5 with old glib 2.12
* Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
Diffstat (limited to 'src/tokenizers')
-rw-r--r--src/tokenizers/tokenizers.c2
-rw-r--r--src/tokenizers/tokenizers.h13
2 files changed, 5 insertions, 10 deletions
diff --git a/src/tokenizers/tokenizers.c b/src/tokenizers/tokenizers.c
index d5a820d1b..051e5bc4e 100644
--- a/src/tokenizers/tokenizers.c
+++ b/src/tokenizers/tokenizers.c
@@ -27,7 +27,7 @@
*/
#include <sys/types.h>
-#include "../main.h"
+#include "main.h"
#include "tokenizers.h"
struct tokenizer tokenizers[] = {
diff --git a/src/tokenizers/tokenizers.h b/src/tokenizers/tokenizers.h
index c78d90b0e..be0daac9b 100644
--- a/src/tokenizers/tokenizers.h
+++ b/src/tokenizers/tokenizers.h
@@ -1,15 +1,10 @@
#ifndef TOKENIZERS_H
#define TOKENIZERS_H
-#include <sys/types.h>
-#include "../config.h"
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
-#include "../mem_pool.h"
-#include "../fstring.h"
-#include "../main.h"
+#include "config.h"
+#include "mem_pool.h"
+#include "fstring.h"
+#include "main.h"
/* Size for features pipe */
#define FEATURE_WINDOW_SIZE 5