diff options
Diffstat (limited to 'intl/localealias.c')
-rw-r--r-- | intl/localealias.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/intl/localealias.c b/intl/localealias.c index 45c16c6e53..01fbe04f2e 100644 --- a/intl/localealias.c +++ b/intl/localealias.c @@ -131,6 +131,15 @@ struct block_list # define alloca(size) (malloc (size)) #endif /* have alloca */ +#if defined _LIBC || defined HAVE_FGETS_UNLOCKED +# undef fgets +# define fgets(buf, len, s) fgets_unlocked (buf, len, s) +#endif +#if defined _LIBC || defined HAVE_FEOF_UNLOCKED +# undef feof +# define feof(s) feof_unlocked (s) +#endif + struct alias_map { |