summaryrefslogtreecommitdiff
path: root/lib/posixtm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/posixtm.c')
-rw-r--r--lib/posixtm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/posixtm.c b/lib/posixtm.c
index 22f636ebb..1400e5a51 100644
--- a/lib/posixtm.c
+++ b/lib/posixtm.c
@@ -38,7 +38,10 @@
#endif
#include "posixtm.h"
-#include "unlocked-io.h"
+
+#if USE_UNLOCKED_IO
+# include "unlocked-io.h"
+#endif
/* ISDIGIT differs from isdigit, as follows:
- Its arg may be any int or unsigned int; it need not be an unsigned char.