summaryrefslogtreecommitdiff
path: root/games/exchess/patches/patch-ab
blob: 7f4f288d99197965db62873c68f7333d7c0c0fa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.2 2002/07/16 13:39:03 agc Exp $

--- chess.h.orig	Sat Feb 19 11:28:46 2000
+++ chess.h	Tue Jul 16 14:37:30 2002
@@ -3,6 +3,8 @@
 #ifndef CHESS_H
 #define CHESS_H
 
+#include <sys/types.h>
+
 // move structure to encapsulate several important move parameters
 // note: The char used below is treated like an integer.
 
@@ -86,7 +88,7 @@
 // Structure for position in the opening book
 
 struct book_rec {
- unsigned __int64 pos_code;    // position hash code
+ u_int64_t pos_code;           // position hash code
  int score;                    // score for position
  int gambit;                   // flag for gambit play
 };