summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-03-30 13:45:23 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-03-30 13:45:23 (GMT)
commit354bcd9b7ffe198e183ff656d57854604533ec14 (patch)
treeee66021faaf2bcf6776a12d42d07c131ea2baef1
parent680fa675fb5100f8c350ce44782e6935c70519f1 (diff)
downloadhdf5-354bcd9b7ffe198e183ff656d57854604533ec14.zip
hdf5-354bcd9b7ffe198e183ff656d57854604533ec14.tar.gz
hdf5-354bcd9b7ffe198e183ff656d57854604533ec14.tar.bz2
[svn-r10509]
Purpose: Bug fix Description: Header was expecting SRB headers to be installed. Solution: Only try to include SRB header if SRB is enabled. Platforms tested: sleipnir
-rw-r--r--src/hdf5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hdf5.h b/src/hdf5.h
index 05d49c7..3b6da96 100644
--- a/src/hdf5.h
+++ b/src/hdf5.h
@@ -48,7 +48,9 @@
#include "H5FDmpi.h" /* MPI-based file drivers */
#include "H5FDmulti.h" /* Usage-partitioned file family */
#include "H5FDsec2.h" /* POSIX unbuffered file I/O */
+#ifdef H5_HAVE_LIBSRBCLIENT
#include "H5FDsrb.h" /* Remote access using SRB */
+#endif
#include "H5FDstdio.h" /* Standard C buffered I/O */
#include "H5FDstream.h" /* In-memory files streamed via sockets */