diff options
author | Marko Durkovic <marko@miding.de> | 2014-12-09 12:16:27 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-06-03 18:15:57 +0200 |
commit | 45a145c8b2b60d8500ad9bbb7fed226c46af0d7e (patch) | |
tree | c1a19d6e1bb44d7a3836196ca4fc5e2d826a0573 | |
parent | 66d086cc26c55bf317184b08dd8e04c9736c9514 (diff) | |
download | guix-45a145c8b2b60d8500ad9bbb7fed226c46af0d7e.tar.gz |
Explicitly include required C headers
-rw-r--r-- | nix/libstore/optimise-store.cc | 1 | ||||
-rw-r--r-- | nix/libstore/remote-store.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/nix/libstore/optimise-store.cc b/nix/libstore/optimise-store.cc index 8ba9d1a263..4ea27fdebb 100644 --- a/nix/libstore/optimise-store.cc +++ b/nix/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/nix/libstore/remote-store.cc b/nix/libstore/remote-store.cc index 706904c74d..55156a9978 100644 --- a/nix/libstore/remote-store.cc +++ b/nix/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> |