More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc

(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
 -Erik
This commit is contained in:
Eric Andersen
2000-07-09 06:59:58 +00:00
parent e9b527ae48
commit 999bf72f49
14 changed files with 34 additions and 12 deletions

View File

@ -56,6 +56,7 @@
#include <stdio.h>
#include <errno.h>
#include <getopt.h>
#include <pwd.h>
#define RW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)