It is not possible to mix SDL1 and SDL2 in the same program. They have conflicting function names and many other problems. SDL2 comes with sdl2-connfig which sets its own include paths as it needs.
This is common also for other projects, sometimes using the generic pkg-config system. GrafX2 makefiles will use that to detect Lua, for example.