aboutsummaryrefslogtreecommitdiff
path: root/compile_data
diff options
context:
space:
mode:
Diffstat (limited to 'compile_data')
-rw-r--r--compile_data/func_pointer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compile_data/func_pointer.c b/compile_data/func_pointer.c
index e7b6484..1d74894 100644
--- a/compile_data/func_pointer.c
+++ b/compile_data/func_pointer.c
@@ -1,3 +1,4 @@
+#include <cstdio>
typedef void (*Func_t)();
void f(Func_t func, int step) {
if (!step) return;