X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=typegen%2Fmain.c;h=8186f4f490bf3d697955d365156776c39b15e964;hb=4e8c6809edc239dcfae1f9333375776e4c488dff;hp=6c397defaa02a27609b3ffe54ca1344bdcae61ae;hpb=8f7b07b0a049c3bafabf2cfc98e4bf31f228028c;p=dragonnet.git 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");