Using "SDL2/SDL_xxx.h" instead of "SDL_xxx.h" caused the include paths provided by pkg-config to be ignored, and headers from a standard include path to be used instead.