From 798a238afabbd6238469028da2109bd5d739a618 Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 15 Jan 2002 01:16:14 +0000 Subject: [PATCH] BSD fix by Steven M. Schultz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4164 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/drivers/mga_vid.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vidix/drivers/mga_vid.c b/vidix/drivers/mga_vid.c index 20b45b5bb2..f071647bdd 100644 --- a/vidix/drivers/mga_vid.c +++ b/vidix/drivers/mga_vid.c @@ -56,6 +56,10 @@ #include "../../libdha/libdha.h" #include "mga_vid.h" +#if !defined(ENOTSUP) && defined(EOPNOTSUPP) +#define ENOTSUP EOPNOTSUPP +#endif + #define TRUE 1 #define FALSE 0