Skip to content

Commit cdbe8f7

Browse files
committed
Fix gcc 12 build errors
1 parent beb0077 commit cdbe8f7

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

include/scratchcpp/virtualmachine.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#pragma once
44

5+
#include <vector>
56
#include <scratchcpp/value.h>
67

78
#include "spimpl.h"

src/engine/compiler_p.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#pragma once
44

5+
#include <unordered_map>
56
#include <scratchcpp/compiler.h>
67
#include <scratchcpp/inputvalue.h>
78

src/scratch/block_p.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#pragma once
44

5+
#include <unordered_map>
56
#include <scratchcpp/blockprototype.h>
67
#include <scratchcpp/inputvalue.h>
78

0 commit comments

Comments
 (0)