summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mknod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/mknod.c')
-rw-r--r--libc/sysdeps/linux/common/mknod.c1
1 files changed, 1 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,