diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-08-14 22:41:11 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-08-14 22:41:11 (GMT) |
commit | 900cce284007a07caabe5e995a6dd9e15314340a (patch) | |
tree | 10027d873cc84a09d4f93b19be742c17827cb53c /perform/perf.c | |
parent | e87fc517b8fc391cf18c268ce0b195eb7398a4a7 (diff) | |
download | hdf5-900cce284007a07caabe5e995a6dd9e15314340a.zip hdf5-900cce284007a07caabe5e995a6dd9e15314340a.tar.gz hdf5-900cce284007a07caabe5e995a6dd9e15314340a.tar.bz2 |
[svn-r4359] Purpose:
bug fix
Description:
Could not get to compile as parallel program in parallel mode.
That was because I did not include hdf5.h before testing for the
H5_HAVE_PARALLEL macro. (DUMB!)
Solution:
#include hdf5.h first.
Platforms tested:
eirene (parallel)
Diffstat (limited to 'perform/perf.c')
-rw-r--r-- | perform/perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perform/perf.c b/perform/perf.c index 8ba0e88..a4a0678 100644 --- a/perform/perf.c +++ b/perform/perf.c @@ -7,6 +7,7 @@ * So if it doesn't work on some platform, that might be why. */ +#include "hdf5.h" #ifdef H5_HAVE_PARALLEL #include <stdio.h> #include <stdlib.h> @@ -21,7 +22,6 @@ #endif -#include "hdf5.h" /* Macro definitions */ /* Verify: * if val is false (0), print mesg and if fatal is true (non-zero), die. |