Remove dependencies on unlocked-io.
[gnulib.git] / lib / closeout.c
index 3c7bed9..16e6f9f 100644 (file)
 #include "error.h"
 #include "exitfail.h"
 #include "quotearg.h"
-#include "unlocked-io.h"
 #include "__fpending.h"
 
+#if USE_UNLOCKED_IO
+# include "unlocked-io.h"
+#endif
+
 static const char *file_name;
 
 /* Set the file name to be reported in the event an error is detected