Fix IWYU for the script_flags fuzz target

Also, export script_error.h from interpreter.h, because there should
rarely be a case where script_error.h is included without interpreter.h
This commit is contained in:
MarcoFalke
2023-11-23 18:06:23 +01:00
parent fa71285b73
commit faf1fb207f
2 changed files with 16 additions and 9 deletions

View File

@@ -6,21 +6,23 @@
#ifndef BITCOIN_SCRIPT_INTERPRETER_H
#define BITCOIN_SCRIPT_INTERPRETER_H
#include <consensus/amount.h>
#include <hash.h>
#include <script/script_error.h>
#include <span.h>
#include <primitives/transaction.h>
#include <script/script_error.h> // IWYU pragma: export
#include <span.h>
#include <uint256.h>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <vector>
#include <stdint.h>
class CPubKey;
class XOnlyPubKey;
class CScript;
class CTransaction;
class CTxOut;
class uint256;
class CScriptNum;
class XOnlyPubKey;
struct CScriptWitness;
/** Signature hash types/flags */
enum