From 629e8da3aa6da507bc360385f5f341471ef57a89 Mon Sep 17 00:00:00 2001 From: Marko Durkovic Date: Tue, 9 Dec 2014 12:16:27 +0100 Subject: [PATCH] Explicitly include required C headers --- src/download-via-ssh/download-via-ssh.cc | 1 + src/libmain/shared.cc | 1 + src/libstore/optimise-store.cc | 1 + src/libstore/remote-store.cc | 1 + src/libutil/monitor-fd.hh | 1 + 5 files changed, 5 insertions(+) diff --git a/src/download-via-ssh/download-via-ssh.cc b/src/download-via-ssh/download-via-ssh.cc index b64455eb1..164c24b49 100644 --- a/src/download-via-ssh/download-via-ssh.cc +++ b/src/download-via-ssh/download-via-ssh.cc @@ -9,6 +9,7 @@ #include "store-api.hh" #include +#include #include using namespace nix; diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index ef4ea3706..bf5688a1e 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -11,6 +11,7 @@ #include #include +#include #include #include #include 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 #include #include #include 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 #include #include +#include #include #include diff --git a/src/libutil/monitor-fd.hh b/src/libutil/monitor-fd.hh index 72d23fb69..e99869eff 100644 --- a/src/libutil/monitor-fd.hh +++ b/src/libutil/monitor-fd.hh @@ -3,6 +3,7 @@ #include #include +#include #include #include #include