aboutsummaryrefslogtreecommitdiffstats
path: root/src/cdb
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-05-13 15:08:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-05-13 15:08:05 +0100
commit43fbe0232915132dad8259c85bb5fedf2f8ce82b (patch)
tree443410134b01f9c6c15a312c28fdf8c82e2a11fb /src/cdb
parentfc7fa45e5a7187d5a4c5c5bcfc1be27de75fd59a (diff)
downloadrspamd-43fbe0232915132dad8259c85bb5fedf2f8ce82b.tar.gz
rspamd-43fbe0232915132dad8259c85bb5fedf2f8ce82b.zip
Some fixes for OpenBSD.
Diffstat (limited to 'src/cdb')
-rw-r--r--src/cdb/cdb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cdb/cdb.h b/src/cdb/cdb.h
index bdf4caeb3..03da9ac41 100644
--- a/src/cdb/cdb.h
+++ b/src/cdb/cdb.h
@@ -10,6 +10,13 @@
#include "config.h"
+/*
+ * OpenBSD fix
+ */
+#ifndef EPROTO
+#define EPROTO EPROTONOSUPPORT
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif