From 4e8c6809edc239dcfae1f9333375776e4c488dff Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 22 Jan 2022 18:47:06 +0100 Subject: [PATCH] Fix missing includes --- typegen/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/typegen/main.c b/typegen/main.c index 6c397de..8186f4f 100644 --- a/typegen/main.c +++ b/typegen/main.c @@ -560,7 +560,10 @@ int main(__attribute((unused)) int argc, __attribute((unused)) char **argv) fprintf(h_fp, "\tThis file was automatically generated by Dragonnet.\n"); fprintf(h_fp, "\tDo NOT edit it manually. Instead, edit types.dnet and re-run DragonnetTypegen.\n"); fprintf(h_fp, "*/\n\n"); + fprintf(h_fp, "#include \n\n"); fprintf(h_fp, "#include \n\n"); + fprintf(h_fp, "#include \n"); + fprintf(h_fp, "#include \n"); fprintf(h_fp, "#define htobe8(x) (x)\n"); fprintf(h_fp, "#define be8toh(x) (x)\n\n"); fprintf(h_fp, "typedef char *string;\n\n"); -- 2.44.0