summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-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"