diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/regex/regex_old.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c index 0ff756ff5..29640734d 100644 --- a/libc/misc/regex/regex_old.c +++ b/libc/misc/regex/regex_old.c @@ -31,6 +31,7 @@ # define RE_TRANSLATE_TYPE char * #endif #include <stdlib.h> +#include <stdint.h> #include <string.h> #include <stdio.h> @@ -331,7 +332,7 @@ init_syntax_once () # endif /* emacs */ /* Integer type for pointers. */ -# if !defined _LIBC +# if !defined _LIBC && !defined __intptr_t_defined typedef unsigned long int uintptr_t; # endif |