summaryrefslogtreecommitdiff
path: root/games/xtux/files/patch-af
blob: 43177909f8ed5595aa1534db28f45772c2f145b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/common/timing.c.orig	Mon Feb 17 12:10:07 2003
+++ src/common/timing.c	Thu May 15 20:03:11 2003
@@ -1,6 +1,12 @@
 #include <sys/time.h>
 #include <unistd.h>
+#include <sys/param.h>
+#if __FreeBSD_version >= 500000
 #include <stdint.h>
+#else
+#include <limits.h>
+#define INT32_MAX INT_MAX
+#endif
 #include "timing.h"
 
 static msec_t tvtol(struct timeval t);