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

nix_api: fix missing includes in headers

Forward declaration doesn't work here, since we define classes that
contain the objects
This commit is contained in:
Yorick van Pelt 2023-08-11 11:49:10 +02:00 committed by José Luis Lafuente
parent 40f5d48d3c
commit 5d82d6e733
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A
2 changed files with 5 additions and 9 deletions

View file

@ -1,11 +1,8 @@
#ifndef NIX_API_EXPR_INTERNAL_H
#define NIX_API_EXPR_INTERNAL_H
// forward declaration
namespace nix {
class EvalState;
class BindingsBuilder;
}; // namespace nix
#include "eval.hh"
#include "attr-set.hh"
struct State {
nix::EvalState state;