pkgsrc/sysutils/depot/patches/patch-aa
1998-08-07 11:08:53 +00:00

17 lines
412 B
Text

$NetBSD: patch-aa,v 1.2 1998/08/07 11:14:04 agc Exp $
--- src/lib/DepotDB/DepotDB_Write.c.orig Tue Feb 10 18:54:48 1998
+++ src/lib/DepotDB/DepotDB_Write.c Tue Feb 10 18:55:52 1998
@@ -45,6 +45,12 @@
#include "CollectionList.h"
#include "DepotDB.h"
+#include <sys/param.h>
+
+#if (defined(BSD) && BSD >= 199306)
+#include <limits.h>
+#define MAXLONG LONG_MAX
+#endif
static int DepotDB_LongSkipSize();