summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/poller.cpp1
-rw-r--r--src/network/socket_handler.cpp1
-rw-r--r--src/utils/encoding.cpp2
-rw-r--r--src/xmpp/xmpp_stanza.cpp1
4 files changed, 5 insertions, 0 deletions
diff --git a/src/network/poller.cpp b/src/network/poller.cpp
index 4c72192..66b73f8 100644
--- a/src/network/poller.cpp
+++ b/src/network/poller.cpp
@@ -6,6 +6,7 @@
#include <cstring>
#include <iostream>
+#include <stdexcept>
Poller::Poller()
{
diff --git a/src/network/socket_handler.cpp b/src/network/socket_handler.cpp
index 998b10d..67adacd 100644
--- a/src/network/socket_handler.cpp
+++ b/src/network/socket_handler.cpp
@@ -6,6 +6,7 @@
#include <logger/logger.hpp>
#include <sys/socket.h>
#include <sys/types.h>
+#include <stdexcept>
#include <unistd.h>
#include <errno.h>
#include <cstring>
diff --git a/src/utils/encoding.cpp b/src/utils/encoding.cpp
index 76d1922..fa4958b 100644
--- a/src/utils/encoding.cpp
+++ b/src/utils/encoding.cpp
@@ -3,6 +3,8 @@
#include <utils/scopeguard.hpp>
+#include <stdexcept>
+
#include <assert.h>
#include <string.h>
#include <iconv.h>
diff --git a/src/xmpp/xmpp_stanza.cpp b/src/xmpp/xmpp_stanza.cpp
index b6f5a23..23b2d25 100644
--- a/src/xmpp/xmpp_stanza.cpp
+++ b/src/xmpp/xmpp_stanza.cpp
@@ -2,6 +2,7 @@
#include <utils/encoding.hpp>
+#include <stdexcept>
#include <iostream>
#include <string.h>