$NetBSD: patch-ab,v 1.4 2001/03/30 20:26:23 jtb Exp $

--- include/plplot.h.orig	Sat Mar 17 18:15:47 2001
+++ include/plplot.h
@@ -75,11 +75,7 @@
  *
 \*--------------------------------------------------------------------------*/
 
-#ifdef unix			/* the old way */
-#ifndef __unix
-#define __unix
-#endif
-#endif
+#include <sys/param.h>
 
 /* Make sure Unix systems define "__unix" */
 
@@ -89,7 +85,8 @@
     defined(sun) ||				/* SUN */               \
     defined(CRAY) ||				/* Cray */              \
     defined(__convexc__) ||			/* CONVEX */            \
-    (defined(__alpha) && defined(__osf__))	/* DEC Alpha AXP/OSF */
+    (defined(__alpha) && defined(__osf__)) ||	/* DEC Alpha AXP/OSF */ \
+    (defined(BSD) && BSD >= 199306)             /* 4.4BSD derivatives */  
 
 #ifndef __unix
 #define __unix
