[libc-commits] [libc] 7dde2a5 - [libc] Include stddef.h after D137871
Fangrui Song via libc-commits
libc-commits at lists.llvm.org
Tue Nov 15 12:22:39 PST 2022
Author: Fangrui Song
Date: 2022-11-15T20:22:33Z
New Revision: 7dde2a59e61ad669b52a93b0259ce2ad20d642fa
URL: https://github.com/llvm/llvm-project/commit/7dde2a59e61ad669b52a93b0259ce2ad20d642fa
DIFF: https://github.com/llvm/llvm-project/commit/7dde2a59e61ad669b52a93b0259ce2ad20d642fa.diff
LOG: [libc] Include stddef.h after D137871
C standard does not require stdint.h to define size_t.
Added:
Modified:
libc/src/__support/number_pair.h
Removed:
################################################################################
diff --git a/libc/src/__support/number_pair.h b/libc/src/__support/number_pair.h
index 665a09622571..3c2f0eb5fc7b 100644
--- a/libc/src/__support/number_pair.h
+++ b/libc/src/__support/number_pair.h
@@ -11,7 +11,7 @@
#include "CPP/type_traits.h"
-#include <stdint.h>
+#include <stddef.h>
namespace __llvm_libc {
More information about the libc-commits
mailing list