From 4b60aafc1185164cf48a0627bc3b092c6a79b3bc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 8 Nov 2018 08:18:12 -0400 Subject: Check for before including it Fixes #38. --- mtab.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mtab.c') diff --git a/mtab.c b/mtab.c index a35641d..19c8331 100644 --- a/mtab.c +++ b/mtab.c @@ -20,11 +20,14 @@ #include #include #include -#include #include #include -#if __GLIBC__ || BFS_HAS_INCLUDE() +#if BFS_HAS_SYS_PARAM +# include +#endif + +#if BFS_HAS_MNTENT # define BFS_MNTENT 1 #elif BSD # define BFS_MNTINFO 1 -- cgit v1.2.3