for Ubuntu

llvm-svn: 105338
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 8ae5097f8106b260389a269370f240d1ada84a30
diff --git a/include/cstddef b/include/cstddef
index 11d07a2..f6b34ad 100644
--- a/include/cstddef
+++ b/include/cstddef
@@ -34,6 +34,13 @@
 */
 
 #include <__config>
+
+#ifdef __GLIBC__
+#define __need_NULL
+#define __need_ptrdiff_t
+#define __need_size_t
+#endif
+
 #include <stddef.h>
 
 #pragma GCC system_header