summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/poller.cpp1
-rw-r--r--src/network/socket_handler.cpp1
2 files changed, 2 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>