diff lib/readtokens.c @ 5318:7c24a825b51d

Remove dependencies on unlocked-io.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 04 Oct 2004 20:17:39 +0000
parents a535859efd14
children a48fb0e98c8c
line wrap: on
line diff
--- 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))