$NetBSD: patch-ar,v 1.3 2006/01/05 18:25:57 joerg Exp $ --- lib/libxview/sel/seln_impl.h.orig Tue Jun 29 07:15:25 1993 +++ lib/libxview/sel/seln_impl.h Thu Dec 20 10:09:17 2001 @@ -9,12 +9,17 @@ * file for terms of the license. */ +#ifdef NULL +#undef NULL +#endif #include #ifndef FILE #ifndef SVR4 -#undef NULL #endif SVR4 #include +#ifndef NULL +#define NULL 0 +#endif #endif FILE #include #include @@ -27,10 +32,6 @@ #include #include -extern int errno; - - - /* * Procedure IDs for client-module procedures */