File tree Expand file tree Collapse file tree 10 files changed +29
-11
lines changed Expand file tree Collapse file tree 10 files changed +29
-11
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ add_proxy_header_library(
5050 libc.include .llvm-libc-macros .error_number_macros
5151 libc.include .llvm-libc-macros .generic_error_number_macros
5252)
53+
5354
5455add_proxy_header_library(
5556 fcntl_macros
@@ -92,6 +93,19 @@ add_proxy_header_library(
9293 libc.include .llvm-libc-macros .file_seek_macros
9394)
9495
96+ add_header_library(string_overlay HDRS string_overlay.h)
97+
98+ add_proxy_header_library(
99+ string_macros
100+ HDRS
101+ string_macros.h
102+ DEPENDS
103+ .string_overlay
104+ FULL_BUILD_DEPENDS
105+ libc.include .string
106+ libc.include .llvm-libc-macros .null_macro
107+ )
108+
95109add_proxy_header_library(
96110 sys_epoll_macros
97111 HDRS
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ add_entrypoint_object(
138138 DEPENDS
139139 .strcpy
140140 .string_utils
141+ libc.include .llvm-libc-types.size_t
141142)
142143
143144add_entrypoint_object(
@@ -240,6 +241,7 @@ add_entrypoint_object(
240241 .string_utils
241242 libc.include .stdlib
242243 libc.src.errno.errno
244+ libc.include .llvm-libc-types.size_t
243245)
244246
245247add_entrypoint_object(
@@ -270,7 +272,7 @@ add_entrypoint_object(
270272 strlcat.h
271273 DEPENDS
272274 .string_utils
273- libc.include .string
275+ libc.include .llvm-libc-types.size_t
274276)
275277
276278add_entrypoint_object(
@@ -281,7 +283,7 @@ add_entrypoint_object(
281283 strlcpy.h
282284 DEPENDS
283285 .string_utils
284- libc.include .string
286+ libc.include .llvm-libc-types.size_t
285287)
286288
287289add_entrypoint_object(
@@ -292,7 +294,7 @@ add_entrypoint_object(
292294 strlen.h
293295 DEPENDS
294296 .string_utils
295- libc.include .string
297+ libc.include .llvm-libc-types.size_t
296298)
297299
298300add_entrypoint_object(
@@ -304,6 +306,7 @@ add_entrypoint_object(
304306 DEPENDS
305307 .strncpy
306308 .string_utils
309+ libc.include .llvm-libc-types.size_t
307310)
308311
309312add_entrypoint_object(
@@ -346,6 +349,7 @@ add_entrypoint_object(
346349 .string_utils
347350 libc.include .stdlib
348351 libc.src.__support.CPP.new
352+ libc.include .llvm-libc-types.size_t
349353)
350354
351355add_entrypoint_object(
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STRING_STRCAT_H
1111
1212#include " src/__support/macros/config.h"
13- #include < string.h >
13+ #include " include/llvm-libc-types/size_t.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STRING_STRCPY_H
1111
1212#include " src/__support/macros/config.h"
13- #include < string.h >
13+ #include " include/llvm-libc-types/size_t.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STRING_STRDUP_H
1111
1212#include " src/__support/macros/config.h"
13- #include < string.h >
13+ #include " include/llvm-libc-types/size_t.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STRING_STRLCAT_H
1111
1212#include " src/__support/macros/config.h"
13- #include < string.h >
13+ #include " include/llvm-libc-types/size_t.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STRING_STRLCPY_H
1111
1212#include " src/__support/macros/config.h"
13- #include < string.h >
13+ #include " include/llvm-libc-types/size_t.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STRING_STRLEN_H
1111
1212#include " src/__support/macros/config.h"
13- #include < string.h >
13+ #include " include/llvm-libc-types/size_t.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STRING_STRNCAT_H
1111
1212#include " src/__support/macros/config.h"
13- #include < string.h >
13+ #include " include/llvm-libc-types/size_t.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STRING_STRNDUP_H
1111
1212#include " src/__support/macros/config.h"
13- #include < string.h >
13+ #include " include/llvm-libc-types/size_t.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
You can’t perform that action at this time.
0 commit comments