diff --git a/examples/example_precompiles_vm/example_precompiles_vm.cpp b/examples/example_precompiles_vm/example_precompiles_vm.cpp index 2273d7b2c..096b996c0 100644 --- a/examples/example_precompiles_vm/example_precompiles_vm.cpp +++ b/examples/example_precompiles_vm/example_precompiles_vm.cpp @@ -4,6 +4,7 @@ */ #include +#include #include static evmc_result execute_identity(const evmc_message* msg) @@ -96,7 +97,7 @@ static evmc_result execute(evmc_instance*, } } -extern "C" evmc_instance* evmc_create_example_precompiles_vm() +extern "C" EVMC_EXPORT evmc_instance* evmc_create_example_precompiles_vm() { static struct evmc_instance instance = { EVMC_ABI_VERSION,