aboutsummaryrefslogtreecommitdiffstats
path: root/extlinux/extlinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'extlinux/extlinux.c')
-rw-r--r--extlinux/extlinux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extlinux/extlinux.c b/extlinux/extlinux.c
index 101a4abe..0edce5a5 100644
--- a/extlinux/extlinux.c
+++ b/extlinux/extlinux.c
@@ -40,7 +40,9 @@ typedef uint64_t u64;
#include <linux/fd.h> /* Floppy geometry */
#include <linux/hdreg.h> /* Hard disk geometry */
+#define statfs _kernel_statfs /* HACK to deal with broken 2.4 distros */
#include <linux/fs.h> /* FIGETBSZ, FIBMAP */
+#undef statfs
#include "ext2_fs.h"
#include "../version.h"