- Fix build with gcc4

PR:		114072
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Martin Wilke 2007-06-29 08:32:31 +00:00
parent 069d8cca8e
commit 46ac9432cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194435
5 changed files with 50 additions and 4 deletions

View file

@ -1,6 +1,14 @@
--- main.c.orig Mon May 11 08:52:59 1998
+++ main.c Sat Nov 15 19:34:53 2003
@@ -779,6 +779,7 @@
--- main.c.orig Mon May 11 15:52:59 1998
+++ main.c Wed Jun 27 02:53:46 2007
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
@@ -779,6 +780,7 @@
if(gameOver) {
while(W_EventsPending()) {
W_NextEvent(&wev);
@ -8,7 +16,7 @@
if(gameOver)
mouseControl = 1;
@@ -826,6 +827,7 @@
@@ -826,6 +828,7 @@
while(W_EventsPending()) {
W_NextEvent(&wev);

View file

@ -0,0 +1,8 @@
--- data.h.orig Mon May 11 15:37:19 1998
+++ data.h Wed Jun 27 02:50:31 2007
@@ -1,4 +1,5 @@
#include "Wlib.h"
+#include "struct.h"
extern W_Window gal, baseWin;

View file

@ -0,0 +1,10 @@
--- libsprite/data.h.orig Sun Apr 12 15:03:22 1998
+++ libsprite/data.h Wed Jun 27 02:49:24 2007
@@ -20,6 +20,7 @@
#include "Wlib.h"
#include "defs.h"
+#include "struct.h"
extern int nplanes;
extern int xpmORplanes ;

View file

@ -0,0 +1,10 @@
--- score.c.orig Thu Apr 30 14:11:58 1998
+++ score.c Wed Jun 27 02:55:23 2007
@@ -4,6 +4,7 @@
#include <config.h>
#include <stdio.h>
+#include <string.h>
#include "Wlib.h"
#include "images.h"
#include "data.h"

View file

@ -0,0 +1,10 @@
--- title.c.orig Mon May 11 15:52:59 1998
+++ title.c Wed Jun 27 02:54:45 2007
@@ -4,6 +4,7 @@
#include <config.h>
#include <stdio.h>
+#include <string.h>
#include "Wlib.h"
#include "defs.h"
#include "images.h"