summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--louloulibs/xmpp/xmpp_component.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/louloulibs/xmpp/xmpp_component.cpp b/louloulibs/xmpp/xmpp_component.cpp
index 5db857c..f437a15 100644
--- a/louloulibs/xmpp/xmpp_component.cpp
+++ b/louloulibs/xmpp/xmpp_component.cpp
@@ -9,8 +9,21 @@
#include <utils/sha1.hpp>
#include <utils/time.hpp>
+#include <stdexcept>
+#include <iostream>
+#include <set>
+
+#include <stdio.h>
#include <uuid.h>
+#include <cstdlib>
+#include <set>
+
+#include <louloulibs.h>
+#ifdef SYSTEMD_FOUND
+# include <systemd/sd-daemon.h>
+#endif
+
using namespace std::string_literals;
static std::set<std::string> kickable_errors{