X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frpmatch.c;h=0988f07d04445404b33b340fd57e577679406deb;hb=b5a2c641784fe37cba7c02f109edda0fbed47de3;hp=d9c31b598b1c82f69a29f7f1ddf6e5a6b11c6bad;hpb=f8e2674ac086a94e732b36cc1e6d35b7421d355b;p=gnulib.git diff --git a/lib/rpmatch.c b/lib/rpmatch.c index d9c31b598..0988f07d0 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -1,6 +1,6 @@ /* Determine whether string value is affirmation or negative response according to current locale's data. - Copyright (C) 1996, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,12 +31,16 @@ #if ENABLE_NLS # include +# if HAVE_LIMITS_H +# include +# endif # include # include # define _(Text) gettext (Text) static int -try (const char *response, const char *pattern, const int match, const int nomatch, const char **lastp, regex_t *re) +try (const char *response, const char *pattern, const int match, + const int nomatch, const char **lastp, regex_t *re) { if (pattern != *lastp) {