summaryrefslogtreecommitdiff
path: root/games-arcade/xgalaga/files/xgalaga-2.1.1.0-function-and-ints.patch
blob: 349f01216f35568129bc28420b1bae2525def874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Bug: https://bugs.gentoo.org/877287
--- a/title.c
+++ b/title.c
@@ -5,6 +5,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 #ifdef HAVE_FCNTL_H
 # include <fcntl.h>
 #endif
@@ -17,9 +18,9 @@
 #include "proto.h"
 
 /* for scrolling credits */
-const LINESIZE= 70;
-const VISIBLELINES=7;
-const SPEEDFACTOR=5;
+const int LINESIZE=70;
+const int VISIBLELINES=7;
+const int SPEEDFACTOR=5;
 char *gchLBuf;
 int giCreditLines=0, giActCreditLine=0;