From: Todd C. Miller Date: Fri, 14 Dec 2001 23:38:31 +0000 (+0000) Subject: Use new HAVE_SIGACTION_T define X-Git-Tag: SUDO_1_6_4~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66d801055cc4c04c284876564390a3f08028f56a;p=sudo Use new HAVE_SIGACTION_T define --- diff --git a/compat.h b/compat.h index ddba120c9..ce7338fbb 100644 --- a/compat.h +++ b/compat.h @@ -210,7 +210,9 @@ int sigprocmask __P((int, const sigset_t *, sigset_t *)); * as well as the fact that SunOS has a SA_INTERRUPT flag. */ #ifdef HAVE_SIGACTION +# ifndef HAVE_SIGACTION_T typedef struct sigaction sigaction_t; +# endif # ifndef SA_INTERRUPT # define SA_INTERRUPT 0 # endif diff --git a/config.h.in b/config.h.in index a7c797df2..1ec468f4e 100644 --- a/config.h.in +++ b/config.h.in @@ -137,6 +137,9 @@ # define isblank(_x) ((_x) == ' ' || (_x) == '\t') #endif +/* Define if you have the sigaction_t type. */ +#undef HAVE_SIGACTION_T + /* Define if you have tzset(3). */ #undef HAVE_TZSET