1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 07:22:43 +01:00

Solve unused header warnings reported by clangd

This commit is contained in:
Robert Hensing 2024-07-12 15:37:54 +02:00
parent f070d68c32
commit 8df041cbc6
46 changed files with 53 additions and 84 deletions

View file

@ -1,12 +1,13 @@
#include <vector>
#include <pwd.h>
#include <grp.h>
#include "user-lock.hh"
#include "file-system.hh"
#include "globals.hh"
#include "pathlocks.hh"
#include "users.hh"
#include <pwd.h>
#include <grp.h>
namespace nix {
#if __linux__

View file

@ -1,10 +1,8 @@
#pragma once
///@file
#include "types.hh"
#include <optional>
#include <memory>
#include <vector>
#include <sys/types.h>
namespace nix {