summaryrefslogtreecommitdiff
path: root/lib/mountlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mountlist.c')
-rw-r--r--lib/mountlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mountlist.c b/lib/mountlist.c
index c9c146336..55071c3fc 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -134,7 +134,10 @@ char *strstr ();
#endif
#include "mountlist.h"
-#include "unlocked-io.h"
+
+#if USE_UNLOCKED_IO
+# include "unlocked-io.h"
+#endif
#ifndef SIZE_MAX
# define SIZE_MAX ((size_t) -1)