summaryrefslogtreecommitdiff
path: root/lib/readtokens.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/readtokens.c')
-rw-r--r--lib/readtokens.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/readtokens.c b/lib/readtokens.c
index 2ccf6a938..9fb611db1 100644
--- a/lib/readtokens.c
+++ b/lib/readtokens.c
@@ -32,9 +32,12 @@
#include <string.h>
#include <stdbool.h>
-#include "unlocked-io.h"
#include "xalloc.h"
+#if USE_UNLOCKED_IO
+# include "unlocked-io.h"
+#endif
+
#define STREQ(a,b) ((a) == (b) || ((a) && (b) && *(a) == *(b) \
&& strcmp(a, b) == 0))