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