summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/patches/patch-aq
blob: 202a60813b6a3185184e003a560b70ae5774beaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aq,v 1.1 2001/03/21 15:29:01 wennmach Exp $

PVFS symbol confusion.

--- romio/adio/common/ad_fstype.c.orig	Mon Mar 19 22:55:26 2001
+++ romio/adio/common/ad_fstype.c	Mon Mar 19 22:57:50 2001
@@ -26,7 +26,9 @@
 #ifdef SX4
 #include <sys/stat.h>
 #endif
-#ifdef PVFS
+/* NetBSD defines PVFS in sys/param.h, but that PVFS has nothing to do
+   with the PVFS file system */
+#if defined(PVFS) && !defined(__NetBSD__)
 #include "pvfs_config.h"
 #endif