fix games/quakeforge: build fail on alpha.

PR:		53757
Submitted by:	Ulrich Spoerlein <q@uni.de>
This commit is contained in:
Daichi GOTO 2003-07-08 04:50:34 +00:00
parent 0696e83bb4
commit 1c3fe03035
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84429

View file

@ -0,0 +1,27 @@
--- tools/qfbsp/source/qfbsp.c.orig Wed Jun 25 18:33:19 2003
+++ tools/qfbsp/source/qfbsp.c Wed Jun 25 18:45:55 2003
@@ -30,6 +30,9 @@
# include <strings.h>
#endif
#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/wait.h>
+#include <unistd.h>
#include "QF/quakefs.h"
#include "QF/sys.h"
@@ -748,12 +751,12 @@
if (!fork ()) {
hullnum = 1;
options.verbosity = 0;
- drawflag = false;
+ options.drawflag = false;
sprintf (argv0, "HUL%i", hullnum);
} else if (!fork ()) {
hullnum = 2;
options.verbosity = 0;
- drawflag = false;
+ options.drawflag = false;
sprintf (argv0, "HUL%i", hullnum);
}
CreateSingleHull ();