summaryrefslogtreecommitdiffstats
path: root/src/libutil/ref.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-23 09:10:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-23 09:10:12 +0000
commit0677cd445197fa1ea202b276561b735c903f8c50 (patch)
tree52a508dc11c38f7120a1da16965d97352b4a282d /src/libutil/ref.h
parent70e79ce3e6885074a22d1526d9a2bfbbb6e5a5ea (diff)
downloadrspamd-0677cd445197fa1ea202b276561b735c903f8c50.tar.gz
rspamd-0677cd445197fa1ea202b276561b735c903f8c50.zip
Test for atomic ops.
Diffstat (limited to 'src/libutil/ref.h')
-rw-r--r--src/libutil/ref.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/ref.h b/src/libutil/ref.h
index 8caab5c8f..18e2c3903 100644
--- a/src/libutil/ref.h
+++ b/src/libutil/ref.h
@@ -23,6 +23,9 @@
#ifndef REF_H_
#define REF_H_
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
/**
* @file ref.h
* A set of macros to handle refcounts