diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/soinit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/elf/soinit.c b/elf/soinit.c index 4e2a149..42e6cf1 100644 --- a/elf/soinit.c +++ b/elf/soinit.c @@ -3,9 +3,11 @@ the `.ctors' and `.dtors' sections so the lists are terminated, and calling those lists of functions. */ -# ifdef HAVE_DWARF2_UNWIND_INFO_STATIC +#include <libc-internal.h> + +#ifdef HAVE_DWARF2_UNWIND_INFO_STATIC # include <gccframe.h> -# endif +#endif static void (*const __CTOR_LIST__[1]) (void) __attribute__ ((section (".ctors"))) |