Merge pull request #11209 from pinotree/libutil-current-process-includes

libutil: fix/improve includes in current-process.cc
This commit is contained in:
Eelco Dolstra 2024-07-29 14:01:02 +02:00 committed by GitHub
commit 836d24d6e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,13 +15,12 @@
#if __linux__ #if __linux__
# include <mutex> # include <mutex>
# include <sys/resource.h>
# include "cgroup.hh" # include "cgroup.hh"
# include "namespaces.hh" # include "namespaces.hh"
#endif #endif
#ifndef _WIN32 #ifndef _WIN32
# include <sys/mount.h> # include <sys/resource.h>
#endif #endif
namespace nix { namespace nix {