$NetBSD: patch-ab,v 1.2 2001/08/16 10:16:18 abs Exp $

--- mmv.c.orig	Mon Oct 25 10:29:39 1993
+++ mmv.c
@@ -123,10 +123,13 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/file.h>
+#include <sys/param.h>
 
+#if !(defined(BSD) && BSD >= 199306)
 extern char *getenv();
 extern long lseek();
 extern char *malloc();
+#endif
 
 #ifdef HAS_DIRENT
 #include <dirent.h>
