Group :: Emuladores
RPM: dgen-sdl
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: dgen-sdl-1.23-m68kmake.c.patch
Download
Download
--- dgen-1.23.orig/musa/m68kmake.c
+++ dgen-1.23/musa/m68kmake.c
@@ -1029,9 +1029,10 @@
fprintf(filep, "/* ========================= OPCODE TABLE BUILDER ========================= */\n");
fprintf(filep, "/* ======================================================================== */\n\n");
+ fprintf(filep, "#include <stdlib.h>\n\n"); /* moved here for gcc 4.0 */
fprintf(filep, "#include \"m68kops.h\"\n");
fprintf(filep, "#include \"m68kcpu.h\"\n");
- fprintf(filep, "#include <stdlib.h>\n\n");
+ /*fprintf(filep, "#include <stdlib.h>\n\n");*/
fprintf(filep, "#include <string.h>\n\n");
fprintf(filep, "extern void (*m68k_instruction_jump_table[])(void); /* opcode handler jump table */\n\n");