blob: abd3f96606feb2ac98b5f3e3a55118e00036733a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-ab,v 1.3 2001/02/26 22:22:50 jtb Exp $
--- include/plplot.h.orig Fri Feb 9 21:57:38 2001
+++ include/plplot.h
@@ -75,11 +75,8 @@
*
\*--------------------------------------------------------------------------*/
-#ifdef unix /* the old way */
-#ifndef __unix
-#define __unix
-#endif
-#endif
+#include <sys/types.h>
+#include <sys/param.h>
/* Make sure Unix systems define "__unix" */
@@ -89,7 +86,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) /* BSD */
#ifndef __unix
#define __unix
|