diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 4 | ||||
-rw-r--r-- | src/libutil/archive.cc | 4 | ||||
-rw-r--r-- | src/libutil/util.hh | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 2e0f166d4f9d..d56ae4570df7 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1,3 +1,5 @@ +#include "config.h" + #include "references.hh" #include "pathlocks.hh" #include "misc.hh" @@ -29,8 +31,6 @@ /* Includes required for chroot support. */ -#include "config.h" - #if HAVE_SYS_PARAM_H #include <sys/param.h> #endif diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc index f30e5b7cf694..8fde4328c47e 100644 --- a/src/libutil/archive.cc +++ b/src/libutil/archive.cc @@ -1,3 +1,5 @@ +#include "config.h" + #include <cerrno> #include <algorithm> #include <vector> @@ -12,8 +14,6 @@ #include "archive.hh" #include "util.hh" -#include "config.h" - namespace nix { diff --git a/src/libutil/util.hh b/src/libutil/util.hh index d7d3e5edf817..a5d0445c14d4 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -1,6 +1,8 @@ #ifndef __UTIL_H #define __UTIL_H +#include "config.h" + #include "types.hh" #include <sys/types.h> |