diff --git a/src/util.cc b/src/util.cc index 73834637..9954580d 100644 --- a/src/util.cc +++ b/src/util.cc @@ -34,6 +34,12 @@ /* copyright --> */ #include "util.h" +#ifdef __sun +// For opensolaris, just include signal.h which includes sys/signal.h +#ifdef HAVE_SIGNAL_H +# include +#endif // HAVE_SIGNAL_H +#else // !__sun #ifdef HAVE_SYS_SIGNAL_H # include #else // HAVE_SYS_SIGNAL_H @@ -41,6 +47,7 @@ # include # endif // HAVE_SIGNAL_H #endif // HAVE_SYS_SIGNAL_H +#endif // !__sun #include #ifdef HAVE_PWD_H