diff --git a/hw/xfree86/os-support/bsd/i386_video.c b/hw/xfree86/os-support/bsd/i386_video.c index ef5c66cb3..6b4f701d0 100644 --- a/hw/xfree86/os-support/bsd/i386_video.c +++ b/hw/xfree86/os-support/bsd/i386_video.c @@ -42,6 +42,10 @@ #include "xf86_bsd_priv.h" +#if defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL) +#include +#endif + #ifndef CONSOLE_X_TV_ON #define CONSOLE_X_TV_ON _IOW('t',155,int) #endif