summaryrefslogtreecommitdiffstats
path: root/testpar/API/t_shapesame.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-05-05 22:08:49 (GMT)
committerGitHub <noreply@github.com>2023-05-05 22:08:49 (GMT)
commitdbbc5b9ee07f5edee95d258923e078dcd6ecaf43 (patch)
treec8f752d947b1975d41e8dbe00d04854d0f12a840 /testpar/API/t_shapesame.c
parentd7771ba1f93b047891f2f1ab0aa3a9db86549fe2 (diff)
downloadhdf5-dbbc5b9ee07f5edee95d258923e078dcd6ecaf43.zip
hdf5-dbbc5b9ee07f5edee95d258923e078dcd6ecaf43.tar.gz
hdf5-dbbc5b9ee07f5edee95d258923e078dcd6ecaf43.tar.bz2
Fix some compile failures in API tests (#2913) (#2919)
Diffstat (limited to 'testpar/API/t_shapesame.c')
-rw-r--r--testpar/API/t_shapesame.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/testpar/API/t_shapesame.c b/testpar/API/t_shapesame.c
index 340e89e..2a029ab 100644
--- a/testpar/API/t_shapesame.c
+++ b/testpar/API/t_shapesame.c
@@ -28,6 +28,10 @@
#include "hdf5.h"
#include "testphdf5.h"
+#ifndef PATH_MAX
+#define PATH_MAX 512
+#endif
+
/* FILENAME and filenames must have the same number of names.
* Use PARATESTFILE in general and use a separated filename only if the file
* created in one test is accessed by a different test.
@@ -3967,12 +3971,6 @@ ckrbrd_hs_dr_pio_test(ShapeSameTestMethods sstest_type)
* Main driver of the Parallel HDF5 tests
*/
-#include "testphdf5.h"
-
-#ifndef PATH_MAX
-#define PATH_MAX 512
-#endif /* !PATH_MAX */
-
/* global variables */
int dim0;
int dim1;