A patch that allows compiling X11 backend on FreeBSD
|Reported by:||SF/niemisto||Owned by:||fingolfin|
In file backends/x11/x11.cpp you included linux/soundcard.h. AFAIK
Linux is the only system that puts any headers under linux/. So I made a
little #ifdef modification that makes all other systems to include file
There is in fact another problem in the same file near line 1030 or so
in method OSystem_X11::set_timer(): you use value timer that is not
defined anywhere (at least on FreeBSD). I tried to replace it with the
methods parameter interval but didn't include it in this patch because I
think it may be wrong.
Ticket imported from: #862283. Ticket imported from: patches/413.