[libc-commits] [libc] [libc] Add missing include in type_traits/remove_all_extents.h (PR #65626)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Thu Sep 7 08:57:19 PDT 2023


https://github.com/gchatelet created https://github.com/llvm/llvm-project/pull/65626:

None

>From 4a3eb359066b46a67ebe57c171855bff7a6ec234 Mon Sep 17 00:00:00 2001
From: Guillaume Chatelet <gchatelet at google.com>
Date: Thu, 7 Sep 2023 15:54:09 +0000
Subject: [PATCH] [libc] Add missing include in
 type_traits/remove_all_extents.h

---
 libc/src/__support/CPP/type_traits/remove_all_extents.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libc/src/__support/CPP/type_traits/remove_all_extents.h b/libc/src/__support/CPP/type_traits/remove_all_extents.h
index 7799032ad52556..54b36a4c2e5463 100644
--- a/libc/src/__support/CPP/type_traits/remove_all_extents.h
+++ b/libc/src/__support/CPP/type_traits/remove_all_extents.h
@@ -11,6 +11,8 @@
 #include "src/__support/CPP/type_traits/type_identity.h"
 #include "src/__support/macros/config.h"
 
+#include <stddef.h> // size_t
+
 namespace __llvm_libc::cpp {
 
 // remove_all_extents



More information about the libc-commits mailing list