diff options
author | Steven Chamberlain <steven@pyro.eu.org> | 2013-10-29 13:35:33 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-10-30 15:00:40 -0500 |
commit | 0853c110e5e2ce285c9edb701b6029c0999e35b3 (patch) | |
tree | e18cfea0a0f40ef112eb7df6bc83f717877f7db3 /src/rc/mountinfo.c | |
parent | 1a43ce11d08c00ad8b1796acb975ec9cd71eab86 (diff) | |
download | openrc-69896f5fbc9b3408d88cca2efad2f3176adcf0d3.tar.gz openrc-69896f5fbc9b3408d88cca2efad2f3176adcf0d3.tar.bz2 openrc-69896f5fbc9b3408d88cca2efad2f3176adcf0d3.tar.xz |
Begin port to GNU/kFreeBSDopenrc-0.12.4
This is just a minimal port to get Debian up and running; the rest will
be done later.
Diffstat (limited to 'src/rc/mountinfo.c')
-rw-r--r-- | src/rc/mountinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c index 43d9c83..ce3f27d 100644 --- a/src/rc/mountinfo.c +++ b/src/rc/mountinfo.c @@ -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) { |