[vlc-devel] [PATCH] use SDL.h instead of SDL/SDL.h

Måns Rullgård mans at mansr.com
Sun Mar 7 22:17:14 CET 2010


Nathan Phillip Brink <ohnobinki at ohnopublishing.net> writes:

> Fix #include <SDL/SDL.h> to be #includes <SDL.h> as the FAQ on
> http://libsdl.org/ declares this is the most portable method.
>
> http://www.libsdl.org/faq.php?action=listentries&category=2#19
>
> As sdl-config --cflags returns an include directive (-I) with
> ``SDL'' postfixed, VLC should respect this. This would fix a compile
> issue on my strange setup, which I prefer not to go into detail
> about ;-). I hope that libsdl's documentation and behavior is enough
> to warrant acceptance of this patch.

Libsdl is stupid and should be fixed IMO.

-- 
Måns Rullgård
mans at mansr.com




More information about the vlc-devel mailing list