--- gtkhtml/htmltext.c.orig 2013-07-18 09:29:16.000000000 -0700 +++ gtkhtml/htmltext.c 2013-07-18 09:29:54.000000000 -0700 @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #define PANGO_ENABLE_BACKEND /* Required to get PANGO_GLYPH_EMPTY */ --- configure.ac.orig 2014-05-02 05:31:37.000000000 -0700 +++ configure.ac 2014-05-07 20:38:54.000000000 -0700 @@ -229,7 +229,7 @@ dnl ************************************************** dnl regex library dnl ************************************************** -AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(regex,regexec,[REGEX_LIBS=-lregex],[AC_MSG_ERROR([No regex library found])])]) +AC_CHECK_LIB(gnuregex,regexec,[REGEX_LIBS=-lgnuregex],[AC_MSG_ERROR([No regex library found])]) AC_SUBST(REGEX_LIBS) dnl ******************************