aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/custom
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/plugins/custom
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/plugins/custom')
-rw-r--r--src/plugins/custom/ipmark/ipmark.c6
-rw-r--r--src/plugins/custom/regmark/metaphone.c2
-rw-r--r--src/plugins/custom/regmark/metaphone.h2
-rw-r--r--src/plugins/custom/regmark/prefix_tree.c2
-rw-r--r--src/plugins/custom/regmark/prefix_tree.h2
-rw-r--r--src/plugins/custom/regmark/regmark.c6
6 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/custom/ipmark/ipmark.c b/src/plugins/custom/ipmark/ipmark.c
index f6d32b6ac..ab8abadeb 100644
--- a/src/plugins/custom/ipmark/ipmark.c
+++ b/src/plugins/custom/ipmark/ipmark.c
@@ -31,9 +31,9 @@
* This plugin is a sample of custom filters system in rspamd
*/
-#include "../../../config.h"
-#include "../../../cfg_file.h"
-#include "../../../radix.h"
+#include "config.h"
+#include "cfg_file.h"
+#include "radix.h"
#define ADD_COMMAND "add"
#define DELETE_COMMAND "delete"
diff --git a/src/plugins/custom/regmark/metaphone.c b/src/plugins/custom/regmark/metaphone.c
index 3ac7b7c09..2285c5878 100644
--- a/src/plugins/custom/regmark/metaphone.c
+++ b/src/plugins/custom/regmark/metaphone.c
@@ -32,7 +32,7 @@
* accesssing the array directly...
*/
-#include "../../../config.h"
+#include "config.h"
#include "metaphone.h"
/*
diff --git a/src/plugins/custom/regmark/metaphone.h b/src/plugins/custom/regmark/metaphone.h
index 4de3292f9..6ea5d1be8 100644
--- a/src/plugins/custom/regmark/metaphone.h
+++ b/src/plugins/custom/regmark/metaphone.h
@@ -1,7 +1,7 @@
#ifndef RSPAMD_METAPHONE_H
#define RSPAMD_METAPHONE_H
-#include "../../../config.h"
+#include "config.h"
#define ENCODE(c) (g_ascii_isalpha(c) ? _codes[((g_ascii_toupper(c)) - 'A')] : 0)
diff --git a/src/plugins/custom/regmark/prefix_tree.c b/src/plugins/custom/regmark/prefix_tree.c
index 5e8607aae..e86857a8e 100644
--- a/src/plugins/custom/regmark/prefix_tree.c
+++ b/src/plugins/custom/regmark/prefix_tree.c
@@ -22,7 +22,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "../../../config.h"
+#include "config.h"
#include "prefix_tree.h"
static gint
diff --git a/src/plugins/custom/regmark/prefix_tree.h b/src/plugins/custom/regmark/prefix_tree.h
index be766f80f..c52c322df 100644
--- a/src/plugins/custom/regmark/prefix_tree.h
+++ b/src/plugins/custom/regmark/prefix_tree.h
@@ -1,7 +1,7 @@
#ifndef RSPAMD_PREFIX_TREE_H
#define RSPAMD_PREFIX_TREE_H
-#include "../../../config.h"
+#include "config.h"
#define LETTERS_NUMBER 26
diff --git a/src/plugins/custom/regmark/regmark.c b/src/plugins/custom/regmark/regmark.c
index 3b0e50903..73c30efce 100644
--- a/src/plugins/custom/regmark/regmark.c
+++ b/src/plugins/custom/regmark/regmark.c
@@ -45,9 +45,9 @@
* <string> level
*/
-#include "../../../config.h"
-#include "../../../cfg_file.h"
-#include "../../../main.h"
+#include "config.h"
+#include "cfg_file.h"
+#include "main.h"
#include "metaphone.h"
#include "prefix_tree.h"