1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/xtux/files/patch-af
Eric Anholt 9dd3782cc9 - Fix build on -stable
- Support CC/CFLAGS/MAKE/X11BASE properly

PR:		ports/52274
Submitted by:	Ports Fury
2003-05-15 19:47:55 +00:00

16 lines
368 B
Plaintext

--- 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);