From 6a108999f81ae9baf8b39b8acc47b7b4c6c048a0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 27 Jul 2004 23:14:44 +0000 Subject: Be certain to include sys/sysmacros.h when major() and minor() are being used --- libc/sysdeps/linux/common/mknod.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common/mknod.c') 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 +#include #define __NR___syscall_mknod __NR_mknod static inline _syscall3(int, __syscall_mknod, const char *, path, -- cgit v1.2.3