$NetBSD: patch-ab,v 1.3 2005/08/24 11:30:18 dmcmahill Exp $

--- apps/edit/include/valuesvc.h.orig	2005-03-04 14:21:08.000000000 +0000
+++ apps/edit/include/valuesvc.h	2005-08-11 01:52:56.000000000 +0000
@@ -42,4 +42,5 @@
 
 #include <math.h>
+#include <limits.h>
 
 #include <float.h>
@@ -49,5 +50,5 @@
 #endif
 #ifndef MAXLONG
-#define MAXLONG     0x7fffffff
+#define MAXLONG LONG_MAX
 #endif
 #else
