summaryrefslogtreecommitdiffstats
path: root/share/examples/libvgl
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/libvgl')
-rw-r--r--share/examples/libvgl/demo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/share/examples/libvgl/demo.c b/share/examples/libvgl/demo.c
index ace1b94..99dd9c6 100644
--- a/share/examples/libvgl/demo.c
+++ b/share/examples/libvgl/demo.c
@@ -29,7 +29,9 @@
*/
#include <sys/types.h>
-#include <machine/console.h>
+#include <sys/fbio.h>
+#include <sys/kbio.h>
+#include <sys/consio.h>
#include <vgl.h>
int
@@ -39,7 +41,7 @@ main(int argc, char **argv)
VGLBitmap *tmp;
// set graphics mode, here 320x240 256 colors
- // supported modes are (from <machine/console.h>):
+ // supported modes are (from <sys/consio.h>):
// SW_VGA_CG320: std VGA 320x200 256 colors
// SW_VGA_MODEX: Modex VGA 320x240 256 colors
// SW_VGA_VG640: std VGA 640x480 16 colors
OpenPOWER on IntegriCloud