summaryrefslogtreecommitdiffstats
path: root/mtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mtab.c')
-rw-r--r--mtab.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mtab.c b/mtab.c
index 4d9e1d8..a35641d 100644
--- a/mtab.c
+++ b/mtab.c
@@ -24,11 +24,7 @@
#include <sys/stat.h>
#include <sys/types.h>
-#ifndef __has_include
-# define __has_include(header) 0
-#endif
-
-#if __GLIBC__ || __has_include(<mntent.h>)
+#if __GLIBC__ || BFS_HAS_INCLUDE(<mntent.h>)
# define BFS_MNTENT 1
#elif BSD
# define BFS_MNTINFO 1