diff --git a/orte/mca/pls/fork/pls_fork_module.c b/orte/mca/pls/fork/pls_fork_module.c index 0a0be2d99f..92718be523 100644 --- a/orte/mca/pls/fork/pls_fork_module.c +++ b/orte/mca/pls/fork/pls_fork_module.c @@ -38,9 +38,12 @@ #include #endif #include -#if HAVE_SYS_PARAM_H +#ifdef HAVE_SYS_PARAM_H #include #endif +#ifdef HAVE_NETDB_H +#include +#endif #include "orte/orte_constants.h" #include "opal/event/event.h"