[builtins] Fix build after D95537 due to missing size_t
authorJessica Clarke <jrtc27@jrtc27.com>
Wed, 27 Jan 2021 19:44:01 +0000 (19:44 +0000)
committerJessica Clarke <jrtc27@jrtc27.com>
Wed, 27 Jan 2021 19:44:01 +0000 (19:44 +0000)
Strangely int_lib.h only includes stdint.h and not stddef.h, so we need
to include the latter to be able to use size_t here.

compiler-rt/lib/builtins/gcc_personality_v0.c

index 9fb1ce0..cecbce1 100644 (file)
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "int_lib.h"
+#include <stddef.h>
 
 #include <unwind.h>
 #if defined(__arm__) && !defined(__ARM_DWARF_EH__) &&                          \