blob: e1834f1bfe6f9a462ec17ac990c1468c9dd2ad99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$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)
|