Begin port to GNU/kFreeBSD
This is just a minimal port to get Debian up and running; the rest will be done later.
This commit is contained in:
committed by
William Hubbs
parent
579838d2e7
commit
766d71c2d3
@@ -39,7 +39,7 @@
|
||||
# include <sys/statvfs.h>
|
||||
# define statfs statvfs
|
||||
# define F_FLAGS f_flag
|
||||
#elif defined (__linux__)
|
||||
#elif defined (__linux__) || defined (__GLIBC__)
|
||||
# include <mntent.h>
|
||||
#endif
|
||||
|
||||
@@ -265,7 +265,7 @@ find_mounts(struct args *args)
|
||||
return list;
|
||||
}
|
||||
|
||||
#elif defined (__linux__)
|
||||
#elif defined (__linux__) || defined (__GLIBC__)
|
||||
static struct mntent *
|
||||
getmntfile(const char *file)
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(__GLIBC__)
|
||||
# include <pty.h>
|
||||
#elif defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
# include <util.h>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(__GLIBC__)
|
||||
# include <pty.h>
|
||||
#elif defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
# include <util.h>
|
||||
|
||||
Reference in New Issue
Block a user