diff options
Diffstat (limited to 'perform/pio_timer.c')
-rw-r--r-- | perform/pio_timer.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/perform/pio_timer.c b/perform/pio_timer.c index 1220e38..6fc078e 100644 --- a/perform/pio_timer.c +++ b/perform/pio_timer.c @@ -12,15 +12,12 @@ #include <stdio.h> #include <stdlib.h> -#include <mpi.h> - -#if 0 -#include "hdf5.h" +#include "pio_timer.h" -#endif /* 0 */ +#ifdef H5_HAVE_PARALLEL -#include "pio_timer.h" +#include <mpi.h> /* * The number to divide the tv_usec field with to get a nice decimal to add to @@ -135,3 +132,5 @@ get_time(perf_time *pt, timer_type t) { return pt->total_time[t]; } + +#endif /* H5_HAVE_PARALLEL */ |