Skip to content

Commit

Permalink
nixd: fix various misuses of #includes (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc authored Mar 30, 2024
1 parent 371ced8 commit bcf0de6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion nixd/libutil/include/nixd/util/AutoCloseFD.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <cerrno>
#include <optional>

namespace nixd::util {

Expand Down
3 changes: 1 addition & 2 deletions nixd/libutil/include/nixd/util/AutoHUPPID.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <csignal>

#include <sched.h>
#include <signal.h> // NOLINT(modernize-deprecated-headers)

namespace nixd::util {

Expand Down
4 changes: 4 additions & 0 deletions nixd/tools/nixd/src/NixTU.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
#include "nixf/Basic/Diagnostic.h"
#include "nixf/Basic/Nodes/Basic.h"

#include <memory>
#include <optional>
#include <vector>

namespace nixd {

/// \brief Holds analyzed information about a document.
Expand Down

0 comments on commit bcf0de6

Please sign in to comment.