$NetBSD: patch-al,v 1.1.1.1 2000/02/13 00:14:48 tron Exp $ --- makemap/makemap.c.orig Tue Sep 23 18:11:10 1997 +++ makemap/makemap.c Sat Feb 12 23:28:26 2000 @@ -37,7 +37,7 @@ #endif /* not lint */ #include -#include +#include #ifndef ISC_UNIX # include #endif @@ -152,7 +152,7 @@ #else #define OPTIONS "Ndforv" #endif - while ((opt = getopt(argc, argv, OPTIONS)) != EOF) + while ((opt = getopt(argc, argv, OPTIONS)) != -1) { switch (opt) {