summarylogtreecommitdiffstats
path: root/fix-header.patch
blob: 35a79be5ec051a0e439e34234d5cdc09724d8adf (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
25
diff --git a/title.c b/title.c
index ee747af..7d4c110 100644
--- a/title.c
+++ b/title.c
@@ -7,6 +7,7 @@
 #include <stdlib.h>
 #ifdef HAVE_FCNTL_H
 # include <fcntl.h>
+#include <unistd.h>
 #endif
 #include "math.h"
 #include "Wlib.h"
@@ -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;