$NetBSD: patch-af,v 1.3 2001/12/20 09:19:55 tron Exp $ --- lib/libxview/base/base.h.orig Tue Jun 29 07:14:42 1993 +++ lib/libxview/base/base.h Thu Dec 20 10:09:16 2001 @@ -6,10 +6,15 @@ * file for terms of the license. */ +#include #ifndef xview_base_DEFINED #define xview_base_DEFINED #include +#if (defined(BSD) && (BSD >= 199103)) +#include +#else #include +#endif #include @@ -54,10 +59,12 @@ * non-SVR4 systems. */ #ifndef SUNOS41 +#if !(defined(BSD) && (BSD >= 199103)) #define XV_OS_SVR4 -#define XV_USE_TTCOMPAT #define SYSV_WAIT #define SYSV_UCONTEXT +#endif +#define XV_USE_TTCOMPAT #define XV_USE_XVFCNTL #endif