Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces.
Bug: 2487269
Change-Id: Iec5e470fc22cd9108404f634a9d4baa2c7b7f58f
diff --git a/libc/private/bionic_ssp.h b/libc/private/bionic_ssp.h
index d34b6ab..9883d72 100644
--- a/libc/private/bionic_ssp.h
+++ b/libc/private/bionic_ssp.h
@@ -29,6 +29,9 @@
#ifndef _PRIVATE_SSP_H
#define _PRIVATE_SSP_H
+#include <stdint.h>
+#include <sys/cdefs.h>
+
__BEGIN_DECLS
/* GCC uses this on ARM and MIPS; we use it on x86 to set the guard in TLS. */