diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 19:39:50 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 19:39:50 +0000 |
commit | d9616e5a763d1ab83ebac479e3b2222db5c3f87f (patch) | |
tree | a08c8f6002f7c1660aaa80e0f9cf61cd9d71151c /games/xtux/files/patch-src_common_timing.c | |
parent | - Update to 1.9, announce message: (diff) |
Rename all 10,000 games/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363239
Diffstat (limited to 'games/xtux/files/patch-src_common_timing.c')
-rw-r--r-- | games/xtux/files/patch-src_common_timing.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games/xtux/files/patch-src_common_timing.c b/games/xtux/files/patch-src_common_timing.c new file mode 100644 index 000000000000..43177909f8ed --- /dev/null +++ b/games/xtux/files/patch-src_common_timing.c @@ -0,0 +1,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); |