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:
atmos4 2002-05-03 12:56:29 +00:00
parent dc545e7b68
commit 5568a8133a
1 changed files with 4 additions and 1 deletions

View File

@ -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