[uClibc-cvs] CVS update of uClibc/libc/sysdeps/linux/common (mknod.c ustat.c)
Erik Andersen
andersen at codepoet.org
Tue Jul 27 23:14:45 UTC 2004
Date: Tuesday, July 27, 2004 @ 17:14:45
Author: andersen
Path: /var/cvs/uClibc/libc/sysdeps/linux/common
Modified: mknod.c (1.4 -> 1.5) ustat.c (1.1 -> 1.2)
Be certain to include sys/sysmacros.h when major() and minor()
are being used
Index: uClibc/libc/sysdeps/linux/common/mknod.c
diff -u uClibc/libc/sysdeps/linux/common/mknod.c:1.4 uClibc/libc/sysdeps/linux/common/mknod.c:1.5
--- uClibc/libc/sysdeps/linux/common/mknod.c:1.4 Wed Jan 21 16:27:40 2004
+++ uClibc/libc/sysdeps/linux/common/mknod.c Tue Jul 27 17:14:44 2004
@@ -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,
Index: uClibc/libc/sysdeps/linux/common/ustat.c
diff -u uClibc/libc/sysdeps/linux/common/ustat.c:1.1 uClibc/libc/sysdeps/linux/common/ustat.c:1.2
--- uClibc/libc/sysdeps/linux/common/ustat.c:1.1 Wed Jan 21 16:27:41 2004
+++ uClibc/libc/sysdeps/linux/common/ustat.c Tue Jul 27 17:14:44 2004
@@ -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,
More information about the uClibc-cvs
mailing list