aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-backgammon_backgammon_main.c
blob: c3d4e04c2f4dbc74498ae65a655a0746319d01a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- backgammon/backgammon/main.c.orig	Tue Nov 11 10:46:54 2003
+++ backgammon/backgammon/main.c	Sun Apr 16 21:21:01 2006
@@ -53,6 +53,8 @@
 #include <signal.h>
 #include "back.h"
 
+#define gtty(_a,_b) ioctl(_a,TIOCGETP,_b)
+
 #define MVPAUSE	5				/* time to sleep when stuck */
 #define MAXUSERS 35				/* maximum number of users */