$NetBSD: patch-ab,v 1.4 1999/01/10 23:52:15 tron Exp $ --- pbmplus.h.orig Tue Mar 1 10:46:36 1994 +++ pbmplus.h Mon Jan 11 00:33:32 1999 @@ -119,10 +119,12 @@ #ifndef VMS #include #endif +#ifndef __NetBSD__ extern int atoi(); extern void exit(); extern long time(); extern int write(); +#endif /* NetBSD */ #endif /* CONFIGURE: On most BSD systems, malloc() gets declared in stdlib.h, on @@ -275,5 +277,9 @@ int vfprintf ARGS(( FILE* stream, char* format, va_list args )); #endif /*NEED_VFPRINTF*/ +#ifdef __NetBSD__ +#include +#define A_STRERROR +#endif #endif /*_PBMPLUS_H_*/