summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 919ceb0..4c72192 100644
--- a/src/network/poller.cpp
+++ b/src/network/poller.cpp
@@ -1,6 +1,7 @@
#include <network/poller.hpp>
#include <assert.h>
+#include <errno.h>
#include <stdio.h>
#include <cstring>
diff --git a/src/network/socket_handler.cpp b/src/network/socket_handler.cpp
index 4dab214..998b10d 100644
--- a/src/network/socket_handler.cpp
+++ b/src/network/socket_handler.cpp
@@ -7,6 +7,7 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
+#include <errno.h>
#include <cstring>
#include <netdb.h>
#include <stdio.h>