Imported from ../bash-2.01.1.tar.gz.
[platform/upstream/bash.git] / siglist.c
index cb45205..0206f57 100644 (file)
--- a/siglist.c
+++ b/siglist.c
@@ -20,10 +20,10 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
 
 #include "config.h"
 
-#if !defined (HAVE_SYS_SIGLIST) && !defined (HAVE_STRSIGNAL)
+#if !defined (HAVE_SYS_SIGLIST) && !defined (HAVE_UNDER_SYS_SIGLIST) && !defined (HAVE_STRSIGNAL)
 
 #include <stdio.h>
-#include <sys/types.h>
+#include "bashtypes.h"
 #include <signal.h>
 
 #include "siglist.h"
@@ -210,6 +210,10 @@ initialize_siglist ()
   sys_siglist[SIGSOUND] = "HFT sound sequence has completed";
 #endif
 
+#if defined (SIGINFO)
+  sys_siglist[SIGINFO] = "Information request";
+#endif
+
   for (i = 0; i < NSIG; i++)
     {
       if (!sys_siglist[i])
@@ -221,4 +225,4 @@ initialize_siglist ()
        }
     }
 }
-#endif /* !HAVE_SYS_SIGLIST && !HAVE_STRSIGNAL */
+#endif /* !HAVE_SYS_SIGLIST && !HAVE_UNDER_SYS_SIGLIST && !HAVE_STRSIGNAL */