changeset 692:201cc86720a3

Fix compiling time warning about cairo xlib
author Thinker K.F. Li <thinker@branda.to>
date Mon, 09 Aug 2010 09:09:19 +0800
parents 05a453e07d01
children 8b7964869f7a
files src/X_supp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/X_supp.c	Mon Aug 09 09:01:19 2010 +0800
+++ b/src/X_supp.c	Mon Aug 09 09:09:19 2010 +0800
@@ -3,6 +3,7 @@
 #include <string.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
+#include <cairo-xlib.h>
 #include "mb_graph_engine.h"
 #include "mb_redraw_man.h"
 #include "mb_timer.h"
@@ -698,7 +699,7 @@
 
 mb_img_ldr_t *X_MB_img_ldr(void *rt) {
     X_MB_runtime_t *xmb_rt = (X_MB_runtime_t *) rt;
-    X_MB_runtime_t *img_ldr;
+    mb_img_ldr_t *img_ldr;
 
     img_ldr = xmb_rt->img_ldr;