Include unlocked-io.h.
[gnulib.git] / lib / regex.c
index 560a594..040a390 100644 (file)
@@ -295,12 +295,6 @@ init_syntax_once ()
 
 # endif /* emacs */
 \f
-/* Integer type for pointers.  */
-# if !defined _LIBC
-#define uintptr_t private_uintptr_t
-typedef unsigned long int uintptr_t;
-# endif
-
 /* Should we use malloc or alloca?  If REGEX_MALLOC is not defined, we
    use `alloca' instead of `malloc'.  This is because using malloc in
    re_search* or re_match* could cause memory leaks when C-g is used in
@@ -637,6 +631,7 @@ typedef enum
 #  undef INSIDE_RECURSION
 # endif
 #endif
+#include "unlocked-io.h"
 
 #ifdef INSIDE_RECURSION
 /* Common operations on the compiled pattern.  */