Skip to content

Commit 211cb6e

Browse files
author
Job Hernandez
committed
fix build
1 parent 70d61f6 commit 211cb6e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

libc/src/stdio/linux/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ add_entrypoint_object(
2222
libc.include.sys_syscall
2323
libc.src.__support.OSUtil.osutil
2424
libc.src.errno.errno
25+
libc.hdr.fcntl_macros
2526
)
2627

2728
add_entrypoint_object(

libc/src/stdio/linux/rename.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "src/stdio/rename.h"
10-
#include "include/llvm-libc-macros/linux/fcntl-macros.h"
10+
#include "hdr/fcntl_macros.h"
1111
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
1212
#include "src/__support/common.h"
1313
#include "src/__support/macros/config.h"

libc/src/sys/mman/linux/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ add_entrypoint_object(
187187
../shm_open.h
188188
DEPENDS
189189
libc.src.fcntl.open
190-
libc.include.llvm-libc-macros.fcntl_macros
191-
libc.include.llvm-libc-types.mode_t
190+
libc.hdr.types.mode_t
192191
.shm_common
193192
)
194193

libc/src/sys/mman/linux/shm_open.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "src/sys/mman/shm_open.h"
10-
#include "llvm-libc-macros/fcntl-macros.h"
10+
#include "hdr/types/mode_t.h"
1111
#include "src/__support/macros/config.h"
1212
#include "src/fcntl/open.h"
1313
#include "src/sys/mman/linux/shm_common.h"

libc/src/sys/mman/shm_open.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#define LLVM_LIBC_SRC_SYS_MMAN_SHM_OPEN_H
1111

1212
#include "src/__support/macros/config.h"
13-
#include <llvm-libc-types/mode_t.h>
13+
#include "hdr/types/mode_t.h"
1414

1515
namespace LIBC_NAMESPACE_DECL {
1616

libc/test/src/sys/statvfs/linux/fstatvfs_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "llvm-libc-macros/linux/fcntl-macros.h"
1+
#include "hdr/fcntl_macros.h"
22
#include "src/__support/macros/config.h"
33
#include "src/fcntl/open.h"
44
#include "src/sys/statvfs/fstatvfs.h"

0 commit comments

Comments
 (0)