summaryrefslogtreecommitdiff
path: root/louloulibs
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs')
-rw-r--r--louloulibs/network/resolver.cpp2
-rw-r--r--louloulibs/utils/encoding.cpp1
2 files changed, 3 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>