pkgsrc/games/six/patches/patch-batchh

20 lines
446 B
Text

$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>
/**