summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am4
-rw-r--r--lib/ismounted.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f34bb928..2a185f34 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -4,16 +4,20 @@ AM_CPPFLAGS += -DTEST_PROGRAM
noinst_PROGRAMS = test_blkdev test_ismounted test_wholedisk test_mangle \
test_strtosize test_tt
+if LINUX
if HAVE_CPU_SET_T
noinst_PROGRAMS += test_cpuset
endif
+endif
test_blkdev_SOURCES = blkdev.c
test_ismounted_SOURCES = ismounted.c
test_wholedisk_SOURCES = wholedisk.c
test_mangle_SOURCES = mangle.c
test_strtosize_SOURCES = strtosize.c
+if LINUX
test_cpuset_SOURCES = cpuset.c
+endif
test_tt_SOURCES = tt.c
if LINUX
diff --git a/lib/ismounted.c b/lib/ismounted.c
index 94fe425c..fa7e8225 100644
--- a/lib/ismounted.c
+++ b/lib/ismounted.c
@@ -19,6 +19,7 @@
#include "pathnames.h"
#include "ismounted.h"
+#include "c.h"
#ifdef HAVE_MNTENT_H
/*