diff options
Diffstat (limited to 'sysdeps/generic/segfault.c')
-rw-r--r-- | sysdeps/generic/segfault.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sysdeps/generic/segfault.c b/sysdeps/generic/segfault.c index b1bb178d7a..41e3aa54d8 100644 --- a/sysdeps/generic/segfault.c +++ b/sysdeps/generic/segfault.c @@ -28,6 +28,9 @@ #include <unistd.h> #include <stdio-common/_itoa.h> +/* Get the definition of "struct layout". */ +#include <frame.h> + /* This file defines macros to access the content of the sigcontext element passed up by the signal handler. */ #include <sigcontextinfo.h> @@ -72,14 +75,6 @@ extern void *__libc_stack_end; /* We'll use tis a lot. */ #define WRITE_STRING(s) write (fd, s, strlen (s)) - -struct layout -{ - void *next; - void *return_address; -}; - - /* Name of the output file. */ static const char *fname; |