changeset 4163:d0678176b98c

BSD fix by Steven M. Schultz <sms@2BSD.COM>
author arpi
date Tue, 15 Jan 2002 01:16:14 +0000
parents ccd4cd552cfc
children 2e3262002acb
files vidix/drivers/mga_vid.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/mga_vid.c	Tue Jan 15 01:03:22 2002 +0000
+++ b/vidix/drivers/mga_vid.c	Tue Jan 15 01:16:14 2002 +0000
@@ -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