freebsd-ports/games/xmille/files/patch-control__affirm.c
Martin Wilke 300d2b5267 - Fix build with gcc 4.2
- Unbreak

PR:		113773
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-06-20 14:11:09 +00:00

20 lines
416 B
C

--- control/affirm.c.orig Tue Jul 12 02:55:50 1988
+++ control/affirm.c Fri Jun 15 02:05:02 2007
@@ -9,6 +9,7 @@
# include "co_class.h"
# include <sys/time.h>
# include <assert.h>
+# include <string.h>
/*
* affirm window on screen
@@ -33,6 +34,9 @@
static Window affirm, ok, cancel;
extern GC co_fore_gc;
static int OKstate, CANCELstate;
+
+static int redisplayLabel();
+
int
co_affirm(title, parent)