diff --git a/libs/video/targets/vid_svgalib.c b/libs/video/targets/vid_svgalib.c index b2d2d295e..67c0c25c3 100644 --- a/libs/video/targets/vid_svgalib.c +++ b/libs/video/targets/vid_svgalib.c @@ -672,3 +672,11 @@ VID_SetGamma (double gamma) { return false; //FIXME } + +#ifdef i386 +void +outb (unsigned char val, unsigned short port) +{ + asm ("outb %b0, %w1" : :"a"(val), "d"(port)); +} +#endif