summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-08-26 11:01:45 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-08-26 11:01:45 +0200
commit9100ca32a705885882b8adeb0e595b6fd3f9683b (patch)
tree21ed771f11b370eaaeb7f9c3f55974058a17a60f /server/src
parent00d7ea164e58c0f7a3f4a305bd98cb92dac368a4 (diff)
Add missing includes.
Diffstat (limited to 'server/src')
-rw-r--r--server/src/server.cc1
-rw-r--r--server/src/sessionserialiser.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index ae050d0..3a4fb8d 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -28,6 +28,7 @@
#include <config.h>
#include <stdio.h>
+#include <unistd.h>
#include "httpd.h"
#include "configuration.h"
diff --git a/server/src/sessionserialiser.cc b/server/src/sessionserialiser.cc
index 4e52d79..ab29d94 100644
--- a/server/src/sessionserialiser.cc
+++ b/server/src/sessionserialiser.cc
@@ -30,6 +30,7 @@
#include <dirent.h>
#include <sys/stat.h>
#include <errno.h>
+#include <unistd.h>
#include "journal.h"