summaryrefslogtreecommitdiff
path: root/games/six/patches/patch-batchh
blob: 7063ecdcb63b3b056d9ee3b1cfccb6f42344d87c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-batchh,v 1.1 2007/06/13 00:10:44 rillig Exp $

Every recent platform should have <limits.h> from ISO C90.

--- six/batch.h.orig	2004-07-19 10:30:54.000000000 +0200
+++ six/batch.h	2007-06-13 02:07:09.000000000 +0200
@@ -5,12 +5,8 @@
 #include "carrier.h"
 #include "group.h"
 
-#ifdef __FreeBSD__
-#include <machine/limits.h>
+#include <limits.h>
 #define MAXINT INT_MAX
-#else
-#include <values.h>
-#endif
 #include <list>
 
 /**