$NetBSD: patch-ad,v 1.2 2000/03/23 22:08:52 tron Exp $ --- src/lock.c.orig Sun Nov 19 03:09:22 1995 +++ src/lock.c Wed Mar 25 13:56:13 1998 @@ -10,10 +10,17 @@ #if FILOCK +#if BSD +#undef BSD +#include +#endif + #if BSD || FREEBSD || WMCS || SUN || XENIX || HPUX8 || HPUX9 || AVIION || USG || AIX || AUX #include +#if !(defined(BSD) && (BSD >= 199103)) extern int sys_nerr; /* number of system error messages defined */ extern char *sys_errlist[]; /* list of message texts */ +#endif #endif #if MSC