about summary refs log tree commit diff
path: root/sysdeps/powerpc/backtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/backtrace.c')
-rw-r--r--sysdeps/powerpc/backtrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/powerpc/backtrace.c b/sysdeps/powerpc/backtrace.c
index 7d71fbd9a8..a89d33294b 100644
--- a/sysdeps/powerpc/backtrace.c
+++ b/sysdeps/powerpc/backtrace.c
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <execinfo.h>
+#include <stddef.h>
 
 /* This is the stack layout we see with every stack frame.
    Note that every routine is required by the ABI to lay out the stack
@@ -40,7 +41,7 @@ __backtrace (void **array, int size)
 {
   struct layout *current;
   int count;
-  
+
   /* Force gcc to spill LR.  */
   asm volatile ("" : "=l"(current));