diff options
author | Marko Durkovic <marko@miding.de> | 2014-12-09T11·16+0100 |
---|---|---|
committer | Marko Durkovic <marko@miding.de> | 2014-12-09T12·00+0100 |
commit | 629e8da3aa6da507bc360385f5f341471ef57a89 (patch) | |
tree | 187a913ba7b19f9f5be01224e0c19176f358bb71 /src/libstore | |
parent | 9c58691ce3a35833ddcbf157f9f174ab0cc1c37a (diff) |
Explicitly include required C headers
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/optimise-store.cc | 1 | ||||
-rw-r--r-- | src/libstore/remote-store.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc index dd18d66fa008..fb5607676510 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 650f177986a0..cabde051bd02 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> |