summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/dtypes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 298a8da..8693422 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -19,6 +19,7 @@
* Purpose: Tests the data type interface (H5T)
*/
+#include <time.h>
#include "h5test.h"
/* Number of times to run each test */
@@ -4114,6 +4115,9 @@ main(void)
unsigned long nerrors = 0;
hid_t fapl=-1;
+ /* Set the random # seed */
+ HDsrandom((unsigned long)time(NULL));
+
reset_hdf5();
fapl = h5_fileaccess();