diff --git a/opal/event/select.c b/opal/event/select.c index 42a4e8dd0a..f7845f4b5f 100644 --- a/opal/event/select.c +++ b/opal/event/select.c @@ -37,6 +37,9 @@ #else #include #endif +#ifdef HAVE_SYS_SELECT_H +#include +#endif #include #include #include diff --git a/opal/event/signal.c b/opal/event/signal.c index 6d0e607f13..43cfb8d580 100644 --- a/opal/event/signal.c +++ b/opal/event/signal.c @@ -267,7 +267,7 @@ opal_evsignal_process(void) } } - memset(opal_evsigcaught, 0, sizeof(opal_evsigcaught)); + memset((void*) opal_evsigcaught, 0, sizeof(opal_evsigcaught)); opal_evsignal_caught = 0; }