Module Name:    src
Committed By:   christos
Date:           Mon Oct 26 21:16:50 UTC 2009

Modified Files:
        src/usr.bin/m4: gnum4.c

Log Message:
fix the tools build


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/m4/gnum4.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/m4/gnum4.c
diff -u src/usr.bin/m4/gnum4.c:1.6 src/usr.bin/m4/gnum4.c:1.7
--- src/usr.bin/m4/gnum4.c:1.6	Mon Oct 26 17:11:28 2009
+++ src/usr.bin/m4/gnum4.c	Mon Oct 26 17:16:49 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: gnum4.c,v 1.6 2009/10/26 21:11:28 christos Exp $ */
+/* $NetBSD: gnum4.c,v 1.7 2009/10/26 21:16:49 christos Exp $ */
 /* $OpenBSD: gnum4.c,v 1.39 2008/08/21 21:01:04 espie Exp $ */
 
 /*
@@ -33,7 +33,7 @@
 #include "nbtool_config.h"
 #endif
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: gnum4.c,v 1.6 2009/10/26 21:11:28 christos Exp $");
+__RCSID("$NetBSD: gnum4.c,v 1.7 2009/10/26 21:16:49 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -54,6 +54,9 @@
 
 
 int mimic_gnu = 0;
+#ifndef SIZE_T_MAX
+#define SIZE_T_MAX (size_t)~0ull
+#endif
 
 /*
  * Support for include path search

Reply via email to