diff --git a/opal/mca/btl/sm/btl_sm.c b/opal/mca/btl/sm/btl_sm.c index e0eee09279..d1758c9ddd 100644 --- a/opal/mca/btl/sm/btl_sm.c +++ b/opal/mca/btl/sm/btl_sm.c @@ -30,6 +30,9 @@ #include #include +#ifdef HAVE_UNISTD_H +#include +#endif #ifdef HAVE_FCNTL_H #include #endif /* HAVE_FCNTL_H */