Files
llvm-project/libc/include/string.h.def
Michael Jones c74c4a8bf6 [libc] Fix missing strings symbols in string.h (#192640)
The glibc string.h includes strings.h if it's in the default mode. Added
to allow more programs to be built.
2026-04-17 13:42:22 +01:00

22 lines
726 B
Modula-2

//===-- C standard library header header string.h -------------------------===//
//
// 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_STRING_H
#define LLVM_LIBC_STRING_H
#include "__llvm-libc-common.h"
// TODO: Needed for compatibility with glibc which provides these symbols by
// default. Would be better in the yaml file but there's no way to represent
// including another header in yaml right now.
#include <strings.h>
%%public_api()
#endif // LLVM_LIBC_STRING_H