diff --git a/alib2algo/makefile b/alib2algo/makefile
index d4c904959dddcfa943b49fab26de937e943db7cb..d9afb63a5aa6564df0965883fa02f142e71fed95 100644
--- a/alib2algo/makefile
+++ b/alib2algo/makefile
@@ -79,7 +79,7 @@ test-obj/makefile: makefile
 	echo "SRCDIR:=" >> $@
 	echo "DEPTH:=" >> $@
 	echo "" >> $@
-	echo "CXXFLAGS:= -std=c++11 -O0 -g -c -Wall -pedantic -Wextra -I../\$$(DEPTH)src/ -I../../\$$(DEPTH)alib2data/src" >> $@
+	echo "CXXFLAGS:= -std=c++11 -O0 -g -c -Wall -pedantic -Wextra -I/usr/include/libxml2 -I../\$$(DEPTH)src/ -I../../\$$(DEPTH)alib2data/src" >> $@
 	echo "" >> $@
 	echo "SOURCES:= \$$(shell find ../\$$(DEPTH)test-src/\$$(SRCDIR) -maxdepth 1 -type f -name \"*.cpp\")" >> $@
 	echo "DEPENDENCIES:= \$$(patsubst ../\$$(DEPTH)test-src/\$$(SRCDIR)%.cpp, ../\$$(DEPTH)test-obj/\$$(SRCDIR)%.d, \$$(SOURCES))" >> $@