From 247a4cad6a034384e72494a7ada9de3721f8aa84 Mon Sep 17 00:00:00 2001 From: Douglas Lowder Date: Wed, 20 Oct 2004 17:44:23 -0700 Subject: [PATCH] Patch to tests/fbutils.h to fix typecast problem with xres,yres. --- tests/fbutils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/fbutils.h b/tests/fbutils.h index 0656ea6..48890f7 100644 --- a/tests/fbutils.h +++ b/tests/fbutils.h @@ -13,13 +13,15 @@ #ifndef _FBUTILS_H #define _FBUTILS_H +#include + /* This constant, being ORed with the color index tells the library * to draw in exclusive-or mode (that is, drawing the same second time * in the same place will remove the element leaving the background intact). */ #define XORMODE 0x80000000 -extern int xres, yres; +extern __u32 xres, yres; int open_framebuffer(void); void close_framebuffer(void); -- 2.11.0