# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/gens/hotfix-gcc4.patch # Copyright (C) 2006 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- diff -Nur GensForLinux-orig/src/gens/emulator/g_main.c GensForLinux/src/gens/emulator/g_main.c --- GensForLinux-orig/src/gens/emulator/g_main.c 2004-05-18 20:34:00.000000000 +0000 +++ GensForLinux/src/gens/emulator/g_main.c 2006-02-03 21:56:33.828752000 +0000 @@ -5,6 +5,7 @@ #include #include #include +#include #include "g_main.h" #include "timer.h" #include "gens.h" diff -Nur GensForLinux-orig/src/gens/emulator/g_main.h GensForLinux/src/gens/emulator/g_main.h --- GensForLinux-orig/src/gens/emulator/g_main.h 2004-04-15 20:22:49.000000000 +0000 +++ GensForLinux/src/gens/emulator/g_main.h 2006-02-03 21:58:00.890193000 +0000 @@ -36,6 +36,8 @@ extern unsigned char Keys[]; extern unsigned char joystate[]; +static int Build_Language_String (void); + void SetWindowText(const char *text); int Set_Render(int Full, int Num, int Force); diff -Nur GensForLinux-orig/src/gens/emulator/parse.c GensForLinux/src/gens/emulator/parse.c --- GensForLinux-orig/src/gens/emulator/parse.c 2004-05-19 19:21:00.000000000 +0000 +++ GensForLinux/src/gens/emulator/parse.c 2006-02-03 21:58:14.467041500 +0000 @@ -1,6 +1,7 @@ #include #include #include +#include #include "port.h" #include "save.h" #include "cpu_68k.h"