summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-01-04 02:48:08 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-01-04 02:48:08 +0100
commit7701c907636d79f55e033aa7adaf7ffae4150c91 (patch)
treeaa80b56cf32471d88dc8e724f4c45e382176ecb5
parentb51368304140ea227dbbb71357a2fe9d7fd9057a (diff)
downloadbiboumi-7701c907636d79f55e033aa7adaf7ffae4150c91.tar.gz
biboumi-7701c907636d79f55e033aa7adaf7ffae4150c91.tar.bz2
biboumi-7701c907636d79f55e033aa7adaf7ffae4150c91.tar.xz
biboumi-7701c907636d79f55e033aa7adaf7ffae4150c91.zip
Add missing errno.h includes
-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>