summaryrefslogtreecommitdiffstats
path: root/source/y/bsd-games/bsd-games.trek-gcc4.diff
blob: 25969d7a481dadc27f1320b9b73e49732e31fc63 (plain) (blame)
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
26
27
--- a/trek/trek.h	1999-09-26 12:37:19.000000000 +0100
+++ b/trek/trek.h	2007-08-27 18:55:07.907206649 +0100
@@ -35,6 +35,8 @@
  *	@(#)trek.h	8.1 (Berkeley) 5/31/93
  */
 
+#include "getpar.h"
+
 /*
 **  Global Declarations
 **
--- a/trek/getpar.h	1999-09-15 11:34:31.000000000 +0100
+++ b/trek/getpar.h	2007-08-27 18:55:20.011896456 +0100
@@ -34,6 +34,8 @@
  *
  *	@(#)getpar.h	8.1 (Berkeley) 5/31/93
  */
+#ifndef _GETPAR_H
+#define _GETPAR_H
 
 typedef void (*cmdfun) __P((int));
 struct cvntab		/* used for getcodpar() paramater list */
@@ -52,3 +54,4 @@
 int testnl __P((void));
 void skiptonl __P((int));
 int readdelim __P((int));
+#endif