regex: port better to Solaris 10 Solaris 10 <locale.h> includes <libintl.h>, which #defines gettext, and this causes a double #define. Problem reported by Gavin Smith in: http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00056.html * lib/regex_internal.h (gettext): #undef before #defining.