23 lines
426 B
Text
23 lines
426 B
Text
$NetBSD: patch-ad,v 1.1 2000/09/26 03:47:10 hubertf Exp $
|
|
|
|
--- util.c.orig Mon Sep 25 23:25:31 2000
|
|
+++ util.c
|
|
@@ -1,4 +1,7 @@
|
|
#include <stdio.h>
|
|
+#ifdef __NetBSD__
|
|
+#include <errno.h>
|
|
+#endif
|
|
#ifdef SDBM
|
|
#include "sdbm.h"
|
|
#else
|
|
@@ -10,8 +13,10 @@
|
|
register char *s1;
|
|
register char *s2;
|
|
{
|
|
+#ifndef __NetBSD__
|
|
extern int errno, sys_nerr;
|
|
extern char *sys_errlist[];
|
|
+#endif
|
|
extern char *progname;
|
|
|
|
if (progname)
|