diff options
| author | Nils Maier <maierman@web.de> | 2013-05-17 01:39:38 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-05-17 01:48:53 +0200 |
| commit | b7ef53b13de72dd5a149a7f84f060d391db97b9d (patch) | |
| tree | f703b50288a91b9d96bc42e856791775863605d4 /src | |
| parent | 0adc4b795e5c07784489240bebdc8a27e37598fe (diff) | |
OSX (now) needs signal.h for sigaction
Diffstat (limited to 'src')
| -rw-r--r-- | src/util.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/util.cc b/src/util.cc index 9954580d..3d2a50f6 100644 --- a/src/util.cc +++ b/src/util.cc @@ -42,11 +42,10 @@ #else // !__sun #ifdef HAVE_SYS_SIGNAL_H # include <sys/signal.h> -#else // HAVE_SYS_SIGNAL_H -# ifdef HAVE_SIGNAL_H -# include <signal.h> -# endif // HAVE_SIGNAL_H #endif // HAVE_SYS_SIGNAL_H +#ifdef HAVE_SIGNAL_H +# include <signal.h> +#endif // HAVE_SIGNAL_H #endif // !__sun #include <sys/types.h> |
