summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-07 18:28:29 +0100
committerlouiz’ <louiz@louiz.org>2016-12-07 18:29:02 +0100
commit75778f418751bf06687ccc99454683bb43a9daf0 (patch)
tree0d956301d79950108b4f5414a9d72706719d1c00
parent91f768a6d47e0a099b8a83562bd03ae8615c3694 (diff)
downloadbiboumi-75778f418751bf06687ccc99454683bb43a9daf0.tar.gz
biboumi-75778f418751bf06687ccc99454683bb43a9daf0.tar.bz2
biboumi-75778f418751bf06687ccc99454683bb43a9daf0.tar.xz
biboumi-75778f418751bf06687ccc99454683bb43a9daf0.zip
Add some missing includes
-rw-r--r--louloulibs/network/resolver.cpp2
-rw-r--r--louloulibs/utils/encoding.cpp1
-rw-r--r--src/identd/identd_socket.cpp1
-rw-r--r--src/xmpp/biboumi_adhoc_commands.cpp1
4 files changed, 5 insertions, 0 deletions
diff --git a/louloulibs/network/resolver.cpp b/louloulibs/network/resolver.cpp
index 2987aaa..3847d87 100644
--- a/louloulibs/network/resolver.cpp
+++ b/louloulibs/network/resolver.cpp
@@ -2,6 +2,8 @@
#include <network/resolver.hpp>
#include <string.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
+
#include <cstdlib>
using namespace std::string_literals;
diff --git a/louloulibs/utils/encoding.cpp b/louloulibs/utils/encoding.cpp
index 60f2212..087095f 100644
--- a/louloulibs/utils/encoding.cpp
+++ b/louloulibs/utils/encoding.cpp
@@ -7,6 +7,7 @@
#include <assert.h>
#include <string.h>
#include <iconv.h>
+#include <cerrno>
#include <map>
#include <bitset>
diff --git a/src/identd/identd_socket.cpp b/src/identd/identd_socket.cpp
index c1ad55e..46553ca 100644
--- a/src/identd/identd_socket.cpp
+++ b/src/identd/identd_socket.cpp
@@ -1,6 +1,7 @@
#include <identd/identd_socket.hpp>
#include <identd/identd_server.hpp>
#include <xmpp/biboumi_component.hpp>
+#include <sstream>
#include <iomanip>
#include <utils/sha1.hpp>
diff --git a/src/xmpp/biboumi_adhoc_commands.cpp b/src/xmpp/biboumi_adhoc_commands.cpp
index 003b901..309cd82 100644
--- a/src/xmpp/biboumi_adhoc_commands.cpp
+++ b/src/xmpp/biboumi_adhoc_commands.cpp
@@ -7,6 +7,7 @@
#include <utils/split.hpp>
#include <xmpp/jid.hpp>
#include <algorithm>
+#include <sstream>
#include <iomanip>
#include <biboumi.h>