From 1802bfbd1d276cb106ccf205b3727ffaca451a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kujawa?= Date: Sat, 21 Jan 2017 14:57:49 +0100 Subject: [PATCH] Add missing includes, fix typo. --- src/emulation.awk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/emulation.awk b/src/emulation.awk index c351d95..ce360e7 100644 --- a/src/emulation.awk +++ b/src/emulation.awk @@ -2,6 +2,8 @@ BEGIN { FS="," print "#ifndef _EMULATION_H_" print "#define _EMULATION_H_" + print "#include \"rk65c02.h\"" + print "#include \"instruction.h\"" } /^OP_/{ @@ -12,7 +14,7 @@ BEGIN { END { for (i in emuls) - printf "void %s(rk65c02emu_t *, instruction_t *)\n",i + printf "void %s(rk65c02emu_t *, instruction_t *);\n",i print "#endif /* _EMULATION_H_ */" }