summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2014-08-11 18:25:19 -0700
committerHans Boehm <hboehm@google.com>2014-08-12 10:17:24 -0700
commit8e7181b5a12c00ccdd50239469d0badd4188a617 (patch)
tree1f0f6e4a15558a45db5270c3716fba04b029ab6e
parent9e42984d7ecb5654a63d76339bfb9d99e57ba9c8 (diff)
downloadx86_64-linux-glibc2.11-4.8-8e7181b5a12c00ccdd50239469d0badd4188a617.tar.gz
Include stddef.h in stdatomic.h to define ptrdiff_t
Bug:16874785 Change-Id: I0056a040ead61f32287567449c83025d8fe4df8d
-rw-r--r--sysroot/usr/include/stdatomic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysroot/usr/include/stdatomic.h b/sysroot/usr/include/stdatomic.h
index febf9ae..7bf04b3 100644
--- a/sysroot/usr/include/stdatomic.h
+++ b/sysroot/usr/include/stdatomic.h
@@ -33,7 +33,8 @@
#include <sys/cdefs.h>
#include <sys/types.h>
#include <stdbool.h>
-#include <stdint.h> // TODO: Should pollute namespace less
+#include <stddef.h> // TODO: Should pollute namespace less
+#include <stdint.h>
// NOTE: Defining __CLANG_ATOMICS when __clang__ is defined does not work and results in
// broken "make checkbuild".