diff --git a/ompi/mca/coll/sm/coll_sm_module.c b/ompi/mca/coll/sm/coll_sm_module.c index ac59a683c8..883542aeef 100644 --- a/ompi/mca/coll/sm/coll_sm_module.c +++ b/ompi/mca/coll/sm/coll_sm_module.c @@ -32,8 +32,12 @@ #include #endif #include +#ifdef HAVE_SYS_MMAN_H #include +#endif /* HAVE_SYS_MMAN_H */ +#ifdef HAVE_UNISTD_H #include +#endif /* HAVE_UNISTD_H */ #include "mpi.h" #include "opal/mca/maffinity/maffinity.h"