mirror of https://github.com/mpv-player/mpv
Fix build on FreeBSD 5.0 or later, should be downward compatible (verified on FreeBSD 4.5 at sf compilefamr.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5945 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
dc545e7b68
commit
5568a8133a
|
@ -5,7 +5,10 @@
|
||||||
*/
|
*/
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <machine/console.h>
|
/* machine/console.h seems to be outdated by recent FreeBSD *
|
||||||
|
* however pcvt_ioctl.h seems to exist for very long time */
|
||||||
|
/* #include <machine/console.h>*/
|
||||||
|
#include <machine/pcvt_ioctl.h>
|
||||||
#ifndef GCCUSESGAS
|
#ifndef GCCUSESGAS
|
||||||
#define GCCUSESGAS
|
#define GCCUSESGAS
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue