diff options
Diffstat (limited to 'testing/openmpi/include-unistd.patch')
-rw-r--r-- | testing/openmpi/include-unistd.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/openmpi/include-unistd.patch b/testing/openmpi/include-unistd.patch new file mode 100644 index 0000000000..e7add10edf --- /dev/null +++ b/testing/openmpi/include-unistd.patch @@ -0,0 +1,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> + |