$NetBSD: patch-ai,v 1.2 2024/08/05 12:48:18 tnn Exp $

--- inetcf.c.orig	1997-02-12 01:13:24.000000000 +0000
+++ inetcf.c
@@ -12,14 +12,13 @@ static char sccsid[] = "@(#) inetcf.c 1.
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <errno.h>
 #include <string.h>
 
-extern int errno;
-extern void exit();
-
 #include "tcpd.h"
 #include "inetcf.h"
+#include "scaffold.h"
 
  /*
   * Network configuration files may live in unusual places. Here are some
