From a8b4a281c42c022147a984fa7aaf77ad149278c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Tue, 22 Sep 2020 18:38:06 +0000 Subject: Fix build with -fno-common --- emulators/gngb/files/patch-src_serial.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 emulators/gngb/files/patch-src_serial.c (limited to 'emulators/gngb/files/patch-src_serial.c') diff --git a/emulators/gngb/files/patch-src_serial.c b/emulators/gngb/files/patch-src_serial.c new file mode 100644 index 000000000000..b62cde810cf3 --- /dev/null +++ b/emulators/gngb/files/patch-src_serial.c @@ -0,0 +1,19 @@ +--- src/serial.c.orig 2003-07-27 16:20:30 UTC ++++ src/serial.c +@@ -51,11 +51,16 @@ + #define SOCKET int + #endif + ++Sint8 gblisten; ++ + SDL_Thread *thread; + int thread_fun(void *data); + + SOCKET dest_socket=-1; + SOCKET listen_socket=-1; ++ ++Sint16 serial_cycle_todo; ++gbserial_t gbserial; + + void gngb_closesocket(SOCKET s){ + #ifdef WIN32 -- cgit v1.2.3