diff --git a/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c b/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c index 3fb042e37a..443f10ee7d 100644 --- a/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c +++ b/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c @@ -24,6 +24,9 @@ #if HAVE_LIBGEN_H #include #endif +#if HAVE_SYS_STAT_H +#include +#endif #include "sharedfp_sm.h"