diff options
Diffstat (limited to 'lib/libc/stat/mknod.c')
| -rw-r--r-- | lib/libc/stat/mknod.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/stat/mknod.c b/lib/libc/stat/mknod.c index 1a4a5c6c..b8efed01 100644 --- a/lib/libc/stat/mknod.c +++ b/lib/libc/stat/mknod.c @@ -1,6 +1,9 @@ -#include <fcntl.h> -#include <syscall.h> -#include <sys/stat.h> +#include "asm/unistd_64.h" // for __NR_mknodat + +#include <fcntl.h> // for AT_FDCWD +#include <sys/stat.h> // for mknod +#include <sys/types.h> // for dev_t, mode_t +#include <syscall.h> // for __syscall_4, syscall int mknod(const char *path, mode_t mode, dev_t dev) { |
