diff options
Diffstat (limited to 'lib/regex.c')
-rw-r--r-- | lib/regex.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/regex.c b/lib/regex.c index 32c151911..45db40e9f 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -583,7 +583,10 @@ typedef enum # undef INSIDE_RECURSION # endif #endif -#include "unlocked-io.h" + +#ifdef USE_UNLOCKED_IO +# include "unlocked-io.h" +#endif #ifdef INSIDE_RECURSION /* Common operations on the compiled pattern. */ |