summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/unifyfs/auto-mount.patch
blob: a621f7dd1158462b1e1a8d7510e6da7df3d5b4e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/client/src/pmpi_wrappers.c b/client/src/pmpi_wrappers.c
index ac86d39..38755f5 100644
--- a/client/src/pmpi_wrappers.c
+++ b/client/src/pmpi_wrappers.c
@@ -14,7 +14,6 @@
 
 #include "pmpi_wrappers.h"
 #include "unifyfs.h"
-#include <mpi.h>
 #include <stdio.h>
 
 int unifyfs_mpi_init(int* argc, char*** argv)
diff --git a/client/src/pmpi_wrappers.h b/client/src/pmpi_wrappers.h
index b90057c..995e44b 100644
--- a/client/src/pmpi_wrappers.h
+++ b/client/src/pmpi_wrappers.h
@@ -15,6 +15,8 @@
 #ifndef UNIFYFS_PMPI_WRAPPERS_H
 #define UNIFYFS_PMPI_WRAPPERS_H
 
+#include <mpi.h>
+
 /* MPI_Init PMPI wrapper */
 int unifyfs_mpi_init(int* argc, char*** argv);
 int MPI_Init(int* argc, char*** argv);