From 15ed7ad9f5f36128ca718643130964f179aaaeff Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Thu, 24 Dec 2015 14:38:10 +0900 Subject: [PATCH] btl/sm: add missing #include Thanks Marco Atzeri for contributing the original patch --- opal/mca/btl/sm/btl_sm.c | 3 +++ 1 file changed, 3 insertions(+) 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 */