Under HP-UX 10.20, RE_DUP_MAX is defined by limits.h. To avoid RE_DUP_MAX in regex.h from being redefined, limits.h must be included before regex.h. The file limits.h is included by locale.h by libintl.h. This problem affects rpmatch.c. The following patch corrects the problem. -- J. David Anglin [EMAIL PROTECTED] National Research Council of Canada (613) 990-0752 (FAX: 952-6605) --- rpmatch.c.orig Sat Dec 19 12:18:23 1998 +++ rpmatch.c Tue Apr 4 16:55:45 2000 @@ -31,6 +31,7 @@ #if ENABLE_NLS # include <sys/types.h> +# include <limits.h> # include <regex.h> # include <libintl.h> # define _(Text) gettext (Text)