$NetBSD: patch-ae,v 1.1 2000/07/15 06:11:20 jlam Exp $ --- memconfig/memconfig.c.orig Sat Jul 15 01:35:01 2000 +++ memconfig/memconfig.c Sat Jul 15 02:07:45 2000 @@ -34,7 +34,17 @@ #include #include #include +/* + * This doesn't work if your kernel sources are too divergent from your + * installed headers. Just declare the prototypes for getopt() directly. + */ +#if 0 #include +#else +int getopt(int, char * const [], const char *); +extern char *optarg; +extern int optind; +#endif #include "memrange.h"