aboutsummaryrefslogtreecommitdiff
path: root/mkfs_minix.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs_minix.c')
-rw-r--r--mkfs_minix.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mkfs_minix.c b/mkfs_minix.c
index f4f1d0997..c6f057a07 100644
--- a/mkfs_minix.c
+++ b/mkfs_minix.c
@@ -74,6 +74,7 @@
74#include <termios.h> 74#include <termios.h>
75#include <sys/stat.h> 75#include <sys/stat.h>
76#include <sys/ioctl.h> 76#include <sys/ioctl.h>
77#include <sys/param.h>
77#include <mntent.h> 78#include <mntent.h>
78 79
79#include <linux/fs.h> 80#include <linux/fs.h>
@@ -83,10 +84,6 @@
83#define HAVE_MINIX2 1 84#define HAVE_MINIX2 1
84#endif 85#endif
85 86
86#ifndef __GNUC__
87#error "needs gcc for the bitop-__asm__'s"
88#endif
89
90#ifndef __linux__ 87#ifndef __linux__
91#define volatile 88#define volatile
92#endif 89#endif