summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-trek_main.c
blob: 684bc7f0074c4120b91fa7ba63ebde5d02eebaa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- trek/main.c.orig	Mon Jun 24 04:29:52 2002
+++ trek/main.c	Sun Apr 16 21:26:44 2006
@@ -51,6 +51,8 @@
 # include	<setjmp.h>
 # include       <stdlib.h>
 
+#define gtty(_a,_b) ioctl(_a,TIOCGETP,_b)
+
 # define	PRIO		00	/* default priority */
 
 int	Mother	= 51 + (51 << 8);