From: Bruno Haible Date: Sat, 9 May 2020 11:32:44 +0000 (+0200) Subject: c-stack: Fix warning when DEBUG is enabled. X-Git-Tag: v1.0~4112 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=d14eb48670838366eafc1616078f9b151012bf6c;p=gnulib.git c-stack: Fix warning when DEBUG is enabled. Patch suggested by Marc Nieper-Wißkirchen in . * lib/c-stack.c: Include . --- diff --git a/ChangeLog b/ChangeLog index 85c5af9885..e6750b6b55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2020-05-09 Bruno Haible + + c-stack: Fix warning when DEBUG is enabled. + Patch suggested by Marc Nieper-Wißkirchen in + . + * lib/c-stack.c: Include . + 2020-05-09 Bruno Haible Remove redundant definitions of _GL_ATTRIBUTE_FORMAT. diff --git a/lib/c-stack.c b/lib/c-stack.c index 4050d08e1c..e486591304 100644 --- a/lib/c-stack.c +++ b/lib/c-stack.c @@ -65,6 +65,10 @@ typedef struct sigaltstack stack_t; #include +#if DEBUG +# include +#endif + #if HAVE_LIBSIGSEGV # include #endif