blob: 3c4437d7c190169fbb822c29892761d546acf117 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- environ.c 2003-06-27 09:58:04.000000000 +0100
+++ environ.c.plasmaroo 2004-02-29 12:04:33.000000000 +0000
@@ -56,6 +56,10 @@
#if defined(linux)
#include <sys/ioctl.h>
#include <linux/fs.h>
+ #include <linux/version.h>
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+ #include <sys/statfs.h>
+ #endif
#elif defined(__FreeBSD__)
#include <sys/param.h>
#include <sys/mount.h>
|