summaryrefslogtreecommitdiff
path: root/lib/readtokens.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-10-04 20:17:39 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-10-04 20:17:39 +0000
commit917752adb19961999cd68c6c961efffe33c85141 (patch)
tree425bfa28f1f3290b2e55bf145f4d3d92bfab665a /lib/readtokens.c
parent0259a3cf21ed6cdc578de653002918105b27d5bf (diff)
downloadgnulib-917752adb19961999cd68c6c961efffe33c85141.tar.gz
Remove dependencies on unlocked-io.
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 2ccf6a9380..9fb611db1c 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))