1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

fix missing includes in various headers

This commit is contained in:
Jörg Thalheim 2024-12-16 11:49:43 +01:00
parent d8117c8c0d
commit b338140931
8 changed files with 17 additions and 0 deletions

View file

@ -1,5 +1,13 @@
#pragma once
#include <cstddef>
// inluding the generated headers twice leads to errors
#ifndef BISON_HEADER
#include "lexer-tab.hh"
#include "parser-tab.hh"
#endif
namespace nix::lexer::internal {
void initLoc(YYLTYPE * loc);

View file

@ -5,6 +5,7 @@
*/
#include <limits>
#include <stddef.h>
namespace nix {

View file

@ -1,6 +1,8 @@
#pragma once
///@file
#include <string_view>
namespace nix {

View file

@ -1,6 +1,7 @@
#pragma once
///@file
#include <cassert>
#include <future>
#include <functional>

View file

@ -13,6 +13,7 @@
*/
#include "config.hh"
#include "args.hh"
namespace nix {

View file

@ -2,6 +2,7 @@
///@file
#include <string_view>
#include <string>
namespace nix::regex {

View file

@ -14,6 +14,7 @@
#include "error.hh"
#include "logging.hh"
#include "ansicolor.hh"
#include "signals.hh"
#include <sys/types.h>
#include <sys/stat.h>

View file

@ -2,6 +2,8 @@
///@file
#include <filesystem>
#include <optional>
#include <string_view>
namespace nix {