replace INCLUDES to AM_CPPFLAGS
http.c refactored