aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openmpi/include-unistd.patch
blob: e7add10edfdaa359c8b5b961fc19156a1dcfae30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- openmpi-2.1.1/opal/include/opal/sys/cma.h.orig
+++ openmpi-2.1.1/opal/include/opal/sys/cma.h
@@ -28,7 +28,7 @@
 #endif
 
 #ifdef HAVE_UNISTD_H
-#include <sys/unistd.h>
+#include <unistd.h>
 #endif
 
 #ifdef __linux__
--- openmpi-2.1.1/opal/mca/pmix/pmix112/pmix/include/pmix/pmix_common.h.orig
+++ openmpi-2.1.1/opal/mca/pmix/pmix112/pmix/include/pmix/pmix_common.h
@@ -51,6 +51,7 @@
 #include <stdint.h>
 #include <string.h>
 #include <sys/time.h> /* for struct timeval */
+#include <unistd.h>
 
 #include <pmix_version.h>