aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorMarko Durkovic <marko@miding.de>2014-12-09 12:16:27 +0100
committerMarko Durkovic <marko@miding.de>2014-12-09 13:00:59 +0100
commit629e8da3aa6da507bc360385f5f341471ef57a89 (patch)
tree187a913ba7b19f9f5be01224e0c19176f358bb71 /src/libstore
parent9c58691ce3a35833ddcbf157f9f174ab0cc1c37a (diff)
Explicitly include required C headers
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/optimise-store.cc1
-rw-r--r--src/libstore/remote-store.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index dd18d66fa..fb5607676 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -4,6 +4,7 @@
#include "local-store.hh"
#include "globals.hh"
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 650f17798..cabde051b 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -10,6 +10,7 @@
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <errno.h>
#include <fcntl.h>
#include <iostream>