[libc-commits] [libc] [libc] Add proxy headers to handle memory allocation associated with the header `#include <stdlib.h> (PR #114690)
via libc-commits
libc-commits at lists.llvm.org
Sun Nov 3 10:28:23 PST 2024
================
@@ -0,0 +1,22 @@
+//===-- Definition of the free.h proxy ------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FUNC_FREE_H
+#define LLVM_LIBC_HDR_FUNC_FREE_H
+
+#ifdef LIBC_FULL_BUILD
+#include "hdr/types/size_t.h"
----------------
lntue wrote:
`size_t` is not needed
https://github.com/llvm/llvm-project/pull/114690
More information about the libc-commits
mailing list