$NetBSD: patch-af,v 1.1 2000/09/26 03:47:11 hubertf Exp $ --- dbe.c.orig Mon Sep 25 23:28:28 2000 +++ dbe.c @@ -1,4 +1,6 @@ #include <stdio.h> +#include <stdlib.h> +#include <string.h> #ifndef VMS #include <sys/file.h> #include <ndbm.h> @@ -51,6 +53,7 @@ #define index strchr #endif +#ifndef __NetBSD__ char getopt(argc, argv, optstring) int argc; @@ -128,6 +131,7 @@ } return c; } +#endif void