diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-27T20·56+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-27T20·56+0100 |
commit | 3652326ed281f5f753423acef51103fb8df62a6d (patch) | |
tree | 3e6969ccaa13e77eb42f887cd081b45d7fffed80 /third_party/nix/src/libutil/util.cc | |
parent | 86a35d963d7b6108dec44411c8ebd5aadbb148ac (diff) |
refactor(3p/nix): Anchor local includes at src/ r/865
Previously all includes were anchored in one global mess of header files. This moves the includes into filesystem "namespaces" (if you will) for each sub-package of Nix. Note: This commit does not introduce the relevant build system changes.
Diffstat (limited to 'third_party/nix/src/libutil/util.cc')
-rw-r--r-- | third_party/nix/src/libutil/util.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/third_party/nix/src/libutil/util.cc b/third_party/nix/src/libutil/util.cc index 3f541134b88f..bb6a17e03047 100644 --- a/third_party/nix/src/libutil/util.cc +++ b/third_party/nix/src/libutil/util.cc @@ -1,4 +1,4 @@ -#include "util.hh" +#include "libutil/util.hh" #include <cctype> #include <cerrno> @@ -15,6 +15,7 @@ #include <absl/strings/str_split.h> #include <absl/strings/string_view.h> #include <fcntl.h> +#include <glog/logging.h> #include <grp.h> #include <pwd.h> #include <sys/ioctl.h> @@ -23,12 +24,12 @@ #include <sys/wait.h> #include <unistd.h> -#include "affinity.hh" -#include "finally.hh" -#include "glog/logging.h" -#include "lazy.hh" -#include "serialise.hh" -#include "sync.hh" +#include "libutil/affinity.hh" +#include "libutil/finally.hh" +#include "libutil/lazy.hh" +#include "libutil/serialise.hh" +#include "libutil/sync.hh" +#include "nix_config.h" namespace nix { |