Skip to content

Commit 0fca458

Browse files
committed
ofi: Explicitly include fi_errno.h
Libfabric versions before 1.12.0 did not include fi_errno.h from fabric.h. Explicitly include fi_errno.h to avoid compile error on older versions of Libfabric. Signed-off-by: Brian Barrett <bbarrett@amazon.com>
1 parent 03005cc commit 0fca458

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opal/mca/common/ofi/common_ofi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <errno.h>
2222
#include <unistd.h>
2323
#include <rdma/fabric.h>
24+
#include <rdma/fi_errno.h>
2425
#ifdef HAVE_RDMA_FI_EXT_H
2526
#include <rdma/fi_ext.h>
2627
#endif

0 commit comments

Comments
 (0)