libSDL and $DISPLAY
pabs at debian.org
Fri Jun 28 02:28:13 UTC 2013
On Fri, Jun 28, 2013 at 2:53 AM, Evgeni Golov wrote:
> #include <SDL/SDL.h>
> and libsdl1.2, 1.3 and 2.0 (the later obviously needs a SDL2/SDL.h).
FYI, I recently found out the correct way to include the SDL headers
is to use pkg-config to give you the right SDL include dir and then
#include <SDL.h>. This also makes it easier to support SDL2 and SDL at
the same time. I did this in chromium-bsu git and it works nicely.
More information about the Pkg-sdl-maintainers