Skip to content

Commit fc3b738

Browse files
author
Job Hernandez
committed
handle the AT_FDCWD usages
1 parent 474234a commit fc3b738

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

libc/src/fcntl/linux/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ add_entrypoint_object(
2929
../open.h
3030
DEPENDS
3131
libc.hdr.types.mode_t
32+
libc.hdr.fcntl_macros
3233
libc.src.__support.OSUtil.osutil
3334
libc.src.errno.errno
3435
)

libc/src/fcntl/linux/open.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "src/errno/libc_errno.h"
1515

1616
#include "hdr/types/mode_t.h"
17+
#include "hdr/fcntl_macros.h"
1718
#include <stdarg.h>
1819
#include <sys/syscall.h> // For syscall numbers.
1920

libc/src/spawn/linux/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ add_entrypoint_object(
66
../posix_spawn.h
77
DEPENDS
88
libc.hdr.types.mode_t
9+
libc.hdr.fcntl_macros
910
libc.include.spawn
1011
libc.include.sys_syscall
1112
libc.include.signal

libc/src/spawn/linux/posix_spawn.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "src/spawn/file_actions.h"
1616

1717
#include "hdr/types/mode_t.h"
18+
#include "hdr/fcntl_macros.h"
1819
#include <signal.h> // For SIGCHLD
1920
#include <spawn.h>
2021
#include <sys/syscall.h> // For syscall numbers.

0 commit comments

Comments
 (0)