summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-11-10 03:08:45 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-11-10 03:08:45 +0100
commit6a43d350bed472f8e52525d9afc2d40ee72cef7e (patch)
treec97f4a9d5ebc4932d5628e9631e71ee81a4fb8bf /src
parent3d92360310d8e35394109058ff723da57af5b380 (diff)
downloadbiboumi-6a43d350bed472f8e52525d9afc2d40ee72cef7e.tar.gz
biboumi-6a43d350bed472f8e52525d9afc2d40ee72cef7e.tar.bz2
biboumi-6a43d350bed472f8e52525d9afc2d40ee72cef7e.tar.xz
biboumi-6a43d350bed472f8e52525d9afc2d40ee72cef7e.zip
Add include for perror
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>