diff --git a/mozilla/htmlparser/tests/html/Makefile.in b/mozilla/htmlparser/tests/html/Makefile.in
index 60c8713c27a..202ec7309fb 100644
--- a/mozilla/htmlparser/tests/html/Makefile.in
+++ b/mozilla/htmlparser/tests/html/Makefile.in
@@ -46,3 +46,4 @@ LIBS = \
include $(topsrcdir)/config/rules.mk
+LOCAL_INCLUDES = -I$(srcdir)/../../public
diff --git a/mozilla/parser/htmlparser/tests/html/Makefile.in b/mozilla/parser/htmlparser/tests/html/Makefile.in
index 60c8713c27a..202ec7309fb 100644
--- a/mozilla/parser/htmlparser/tests/html/Makefile.in
+++ b/mozilla/parser/htmlparser/tests/html/Makefile.in
@@ -46,3 +46,4 @@ LIBS = \
include $(topsrcdir)/config/rules.mk
+LOCAL_INCLUDES = -I$(srcdir)/../../public