summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/mknod.c1
-rw-r--r--libc/sysdeps/linux/common/ustat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/mknod.c b/libc/sysdeps/linux/common/mknod.c
index 58cce2047..204a43475 100644
--- a/libc/sysdeps/linux/common/mknod.c
+++ b/libc/sysdeps/linux/common/mknod.c
@@ -9,6 +9,7 @@
#include "syscalls.h"
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#define __NR___syscall_mknod __NR_mknod
static inline _syscall3(int, __syscall_mknod, const char *, path,
diff --git a/libc/sysdeps/linux/common/ustat.c b/libc/sysdeps/linux/common/ustat.c
index 013104d5e..e8322add2 100644
--- a/libc/sysdeps/linux/common/ustat.c
+++ b/libc/sysdeps/linux/common/ustat.c
@@ -9,6 +9,7 @@
#include "syscalls.h"
#include <sys/ustat.h>
+#include <sys/sysmacros.h>
#define __NR___syscall_ustat __NR_ustat
static inline _syscall2(int, __syscall_ustat,