summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--disk-utils/fsck.minix.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index f61102c8..67841128 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,7 @@ AC_PROG_CC_STDC
AC_GNU_SOURCE
AC_CANONICAL_HOST
AC_C_CONST
+AC_C_VOLATILE
AC_C_BIGENDIAN
dnl libtool-2
diff --git a/disk-utils/fsck.minix.c b/disk-utils/fsck.minix.c
index af54c987..c9bd6535 100644
--- a/disk-utils/fsck.minix.c
+++ b/disk-utils/fsck.minix.c
@@ -107,10 +107,6 @@
#include "nls.h"
#include "pathnames.h"
-#ifndef __linux__
-#define volatile
-#endif
-
#define ROOT_INO 1
#define UPPER(size,n) ((size+((n)-1))/(n))