summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 13:50:35 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 13:50:35 +0400
commitb8c51743357c4bc1fc5067dc0bd5e8992310c93d (patch)
tree107b63862fa9ed007f5b52ac318bde810b921a6e /config.h.in
parentc902ecdf5a000d02884dbcd811e7f97b5477ad9f (diff)
downloadrspamd-b8c51743357c4bc1fc5067dc0bd5e8992310c93d.tar.gz
rspamd-b8c51743357c4bc1fc5067dc0bd5e8992310c93d.zip
* Improve google perf tools support
* Pass to event_add only copies of struct timeval to avoid timing problems
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 12593da61..0db410bb5 100644
--- a/config.h.in
+++ b/config.h.in
@@ -269,6 +269,10 @@
#define HAVE_SETLOCALE 1
#endif
+#ifdef WITH_GPERF_TOOLS
+#include <google/profiler.h>
+#endif
+
#include <errno.h>
#include <signal.h>
#include <event.h>