# undef INSIDE_RECURSION
# endif
#endif
-#include "unlocked-io.h"
+
+#if USE_UNLOCKED_IO
+# include "unlocked-io.h"
+#endif
#ifdef INSIDE_RECURSION
/* Common operations on the compiled pattern. */
if (!s)
{
if (!re_comp_buf.buffer)
- return gettext ("No previous regular expression");
+ return (char *) gettext ("No previous regular expression");
return 0;
}