Merge changes from coreutils.
[gnulib.git] / lib / regex.c
index 45db40e..d384070 100644 (file)
@@ -584,7 +584,7 @@ typedef enum
 # endif
 #endif
 
-#ifdef USE_UNLOCKED_IO
+#if USE_UNLOCKED_IO
 # include "unlocked-io.h"
 #endif
 
@@ -7909,7 +7909,7 @@ re_comp (const char *s)
   if (!s)
     {
       if (!re_comp_buf.buffer)
-       return gettext ("No previous regular expression");
+       return (char *) gettext ("No previous regular expression");
       return 0;
     }