aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamc.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-08 13:15:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-08 13:15:15 +0100
commiteb737947eb2afe98f9dac1121fa37d1b746c5657 (patch)
tree02aa7752555cc4a47b1a9b423066bbdc52a7e8c5 /src/client/rspamc.c
parente0bfa35ee937940f20a5675bc7582cfc83c2866b (diff)
downloadrspamd-eb737947eb2afe98f9dac1121fa37d1b746c5657.tar.gz
rspamd-eb737947eb2afe98f9dac1121fa37d1b746c5657.zip
Reorganize includes to reduce namespace pollution.
Diffstat (limited to 'src/client/rspamc.c')
-rw-r--r--src/client/rspamc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 1d9252147..9be97cba0 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -27,6 +27,11 @@
#include "http.h"
#include "rspamdclient.h"
#include "utlist.h"
+#include "unix-std.h"
+
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
#define DEFAULT_PORT 11333
#define DEFAULT_CONTROL_PORT 11334
@@ -1345,7 +1350,6 @@ main (gint argc, gchar **argv, gchar **env)
event_base_loop (ev_base, 0);
g_hash_table_destroy (kwattrs);
- g_mime_shutdown ();
/* Wait for children processes */
cur = g_list_first (children);