1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 12:06:01 +01:00

libutil: Include necessary headers in config-impl.hh

These headers need to be included before everything else
(at least in GCC).
This commit is contained in:
Sergei Zimmerman 2025-08-11 19:21:53 +03:00
parent 28b74c3143
commit 2c38ad2cfa
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,5 @@
#include "nix/expr/eval-profiler-settings.hh" #include "nix/expr/eval-profiler-settings.hh"
#include "nix/util/configuration.hh" #include "nix/util/configuration.hh"
#include "nix/util/logging.hh" /* Needs to be included before config-impl.hh */
#include "nix/util/config-impl.hh" #include "nix/util/config-impl.hh"
#include "nix/util/abstract-setting-to-json.hh" #include "nix/util/abstract-setting-to-json.hh"

View file

@ -12,8 +12,10 @@
* instantiation. * instantiation.
*/ */
#include "nix/util/util.hh"
#include "nix/util/configuration.hh" #include "nix/util/configuration.hh"
#include "nix/util/args.hh" #include "nix/util/args.hh"
#include "nix/util/logging.hh"
namespace nix { namespace nix {