From 9fc7cf057fefded6c5737151ea6855ce6ee0f37f Mon Sep 17 00:00:00 2001
From: Tilman Keskinoz <arved@FreeBSD.org>
Date: Sun, 15 Aug 2004 17:49:44 +0000
Subject: [PATCH] Fix build with gcc 3.4

---
 emulators/gngb/files/patch-save.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 emulators/gngb/files/patch-save.c

diff --git a/emulators/gngb/files/patch-save.c b/emulators/gngb/files/patch-save.c
new file mode 100644
index 000000000000..a74527520dad
--- /dev/null
+++ b/emulators/gngb/files/patch-save.c
@@ -0,0 +1,10 @@
+--- src/save.c.orig	Sun Aug 15 19:46:58 2004
++++ src/save.c	Sun Aug 15 19:47:44 2004
+@@ -8,6 +8,7 @@
+ 
+ #define FILENAME_LEN 1024
+ static SDL_Surface *savestate_bmp=NULL;
++void movie_add_pad(Uint8 pad);
+ 
+ void get_filename_ext(char *f,char *ext) {
+   /*  char *a=getenv("HOME");*/