Skip to content

Commit 25f1656

Browse files
committed
mpi-ext.h: include <mpi.h>
Ensure to #include <mpi.h> at the top of mpi-ext.h, just so that it includes files that it depends on. Thanks to Erik Schnetter for raising the issue. Signed-off-by: Jeff Squyres <[email protected]>
1 parent 3862c74 commit 25f1656

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/ompi_ext.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dnl Copyright (c) 2017 The University of Tennessee and The University
1111
dnl of Tennessee Research Foundation. All rights
1212
dnl reserved.
1313
dnl Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
14+
dnl Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved.
1415
dnl $COPYRIGHT$
1516
dnl
1617
dnl Additional copyrights may follow
@@ -112,6 +113,8 @@ AC_DEFUN([EXT_CONFIGURE],[
112113
#ifndef OMPI_MPI_EXT_H
113114
#define OMPI_MPI_EXT_H 1
114115

116+
#include <mpi.h>
117+
115118
#if defined(c_plusplus) || defined(__cplusplus)
116119
extern "C" {
117120
#endif

0 commit comments

Comments
 (0)