summaryrefslogtreecommitdiff
path: root/src/glut/fbdev/cursor.c
diff options
context:
space:
mode:
authorSean D'Epagnier <geckosenator@freedesktop.org>2006-11-21 09:35:49 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:03:34 +0100
commit25d5afb835fab9f5fe3b3ce56d4f8200becf6670 (patch)
tree96e85fc7f7e119339809e963f49e07b04fd02c1e /src/glut/fbdev/cursor.c
parent82ab8ad2057a7a8edad1e01f7ba463f2fca52457 (diff)
downloadglut-25d5afb835fab9f5fe3b3ce56d4f8200becf6670.tar.gz
Added correct include files to files, No longer modify cmap if the device is truecolor (messes up dual monitors with vt switching)
Diffstat (limited to 'src/glut/fbdev/cursor.c')
-rw-r--r--src/glut/fbdev/cursor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glut/fbdev/cursor.c b/src/glut/fbdev/cursor.c
index 8838695..6cd087e 100644
--- a/src/glut/fbdev/cursor.c
+++ b/src/glut/fbdev/cursor.c
@@ -28,8 +28,10 @@
to render the cursor, this is faster, it would be good to use a hardware
cursor if it exists instead */
+#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
+#include <string.h>
#include <linux/fb.h>