diff options
Diffstat (limited to 'debug')
-rw-r--r-- | debug/tst-backtrace6.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/debug/tst-backtrace6.c b/debug/tst-backtrace6.c index eb5028ecc9..9c1ed751bd 100644 --- a/debug/tst-backtrace6.c +++ b/debug/tst-backtrace6.c @@ -17,5 +17,12 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#define SIGACTION_FLAGS SA_SIGINFO -#include <debug/tst-backtrace5.c> +#include <signal.h> + +#ifdef SA_SIGINFO +# define SIGACTION_FLAGS SA_SIGINFO +# include <debug/tst-backtrace5.c> +#else +# define TEST_FUNCTION 0 +# include "../test-skeleton.c" +#endif |