]> granicus.if.org Git - sudo/commitdiff
Use new HAVE_SIGACTION_T define
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 14 Dec 2001 23:38:31 +0000 (23:38 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 14 Dec 2001 23:38:31 +0000 (23:38 +0000)
compat.h
config.h.in

index ddba120c99719f53642bb57747be08a946609fae..ce7338fbb13c139e2b107f4b22066b4a1d6d2845 100644 (file)
--- 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
index a7c797df2c9e14059db6d911c58e5943c848d542..1ec468f4ee5e04122c4307247afe8c84aa5112b6 100644 (file)
 #  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