From 1c5ffb6820c6a86c05b14f052120393dbede6359 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 4 Oct 2011 10:36:47 -0400 Subject: [PATCH] e2fsck: make the signal catcher more portable, take 2 One table got missed when adding #ifdef's so that e2fsck/sigcatcher.c would compile on non-Linux systems. Signed-off-by: "Theodore Ts'o" --- e2fsck/sigcatcher.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/e2fsck/sigcatcher.c b/e2fsck/sigcatcher.c index 3b8d5820..6591aa96 100644 --- a/e2fsck/sigcatcher.c +++ b/e2fsck/sigcatcher.c @@ -132,15 +132,33 @@ static struct str_table sig_table[] = { }; static struct str_table generic_code_table[] = { +#ifdef SI_ASYNCNL DEFINE_ENTRY(SI_ASYNCNL) +#endif +#ifdef SI_TKILL DEFINE_ENTRY(SI_TKILL) +#endif +#ifdef SI_SIGIO DEFINE_ENTRY(SI_SIGIO) +#endif +#ifdef SI_ASYNCIO DEFINE_ENTRY(SI_ASYNCIO) +#endif +#ifdef SI_MESGQ DEFINE_ENTRY(SI_MESGQ) +#endif +#ifdef SI_TIMER DEFINE_ENTRY(SI_TIMER) +#endif +#ifdef SI_QUEUE DEFINE_ENTRY(SI_QUEUE) +#endif +#ifdef SI_USER DEFINE_ENTRY(SI_USER) +#endif +#ifdef SI_KERNEL DEFINE_ENTRY(SI_KERNEL) +#endif END_TABLE };