summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/poller.cpp3
-rw-r--r--src/network/socket_handler.cpp5
2 files changed, 5 insertions, 3 deletions
diff --git a/src/network/poller.cpp b/src/network/poller.cpp
index 6e86891..e790e60 100644
--- a/src/network/poller.cpp
+++ b/src/network/poller.cpp
@@ -1,10 +1,11 @@
#include <network/poller.hpp>
#include <assert.h>
+#include <stdio.h>
+
#include <cstring>
#include <iostream>
-
Poller::Poller()
{
std::cout << "Poller()" << std::endl;
diff --git a/src/network/socket_handler.cpp b/src/network/socket_handler.cpp
index 737bbf5..d75b505 100644
--- a/src/network/socket_handler.cpp
+++ b/src/network/socket_handler.cpp
@@ -3,11 +3,12 @@
#include <utils/scopeguard.hpp>
#include <network/poller.hpp>
-#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/types.h>
+#include <unistd.h>
#include <cstring>
#include <netdb.h>
-#include <unistd.h>
+#include <stdio.h>
#include <iostream>