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
committerSean D'Epagnier <geckosenator@freedesktop.org>2006-11-21 09:35:49 +0000
commit0570fcfd93a29dcd9d41bc709edd78a7c1b4e1e7 (patch)
tree142c1e827670f35d68cf95a4f85f329c6794a24c /src/glut/fbdev/cursor.c
parent0337e5635f8d18fdf9dac734141e5302db6d1d49 (diff)
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 88386956a4..6cd087e93c 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>