Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libc/src/stdio/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ add_entrypoint_object(
libc.include.sys_syscall
libc.src.__support.OSUtil.osutil
libc.src.errno.errno
libc.hdr.fcntl_macros
)

add_entrypoint_object(
Expand Down
2 changes: 1 addition & 1 deletion libc/src/stdio/linux/rename.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/stdio/rename.h"
#include "include/llvm-libc-macros/linux/fcntl-macros.h"
#include "hdr/fcntl_macros.h"
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
#include "src/__support/common.h"
#include "src/__support/macros/config.h"
Expand Down
3 changes: 1 addition & 2 deletions libc/src/sys/mman/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ add_entrypoint_object(
../shm_open.h
DEPENDS
libc.src.fcntl.open
libc.include.llvm-libc-macros.fcntl_macros
libc.include.llvm-libc-types.mode_t
libc.hdr.types.mode_t
.shm_common
)

Expand Down
2 changes: 1 addition & 1 deletion libc/src/sys/mman/linux/shm_open.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/sys/mman/shm_open.h"
#include "llvm-libc-macros/fcntl-macros.h"
#include "hdr/types/mode_t.h"
#include "src/__support/macros/config.h"
#include "src/fcntl/open.h"
#include "src/sys/mman/linux/shm_common.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/src/sys/mman/shm_open.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#ifndef LLVM_LIBC_SRC_SYS_MMAN_SHM_OPEN_H
#define LLVM_LIBC_SRC_SYS_MMAN_SHM_OPEN_H

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

namespace LIBC_NAMESPACE_DECL {

Expand Down
2 changes: 2 additions & 0 deletions libc/src/sys/stat/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ add_entrypoint_object(
../chmod.h
DEPENDS
libc.hdr.types.mode_t
libc.hdr.fcntl_macros
libc.include.sys_stat
libc.include.sys_syscall
libc.src.__support.OSUtil.osutil
Expand Down Expand Up @@ -47,6 +48,7 @@ add_entrypoint_object(
../mkdir.h
DEPENDS
libc.hdr.types.mode_t
libc.hdr.fcntl_macros
libc.include.sys_stat
libc.include.sys_syscall
libc.src.__support.OSUtil.osutil
Expand Down
1 change: 1 addition & 0 deletions libc/src/sys/stat/linux/chmod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
#include "src/__support/common.h"

#include "hdr/fcntl_macros.h"
#include "hdr/types/mode_t.h"
#include "src/__support/macros/config.h"
#include "src/errno/libc_errno.h"
Expand Down
1 change: 1 addition & 0 deletions libc/src/sys/stat/linux/mkdir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
#include "src/__support/common.h"

#include "hdr/fcntl_macros.h"
#include "hdr/types/mode_t.h"
#include "src/__support/macros/config.h"
#include "src/errno/libc_errno.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/statvfs/linux/fstatvfs_test.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "llvm-libc-macros/linux/fcntl-macros.h"
#include "hdr/fcntl_macros.h"
#include "src/__support/macros/config.h"
#include "src/fcntl/open.h"
#include "src/sys/statvfs/fstatvfs.h"
Expand Down
Loading