summary refs log tree commit diff
path: root/elf/soinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/soinit.c')
-rw-r--r--elf/soinit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/elf/soinit.c b/elf/soinit.c
index 4e2a149d86..42e6cf1691 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")))