comparison src/X_supp.c @ 694:7e64e0f70cb6

Switch XSHM with autoconf
author Thinker K.F. Li <thinker@branda.to>
date Mon, 09 Aug 2010 12:03:46 +0800
parents 8b7964869f7a
children 82836f1290b6
comparison
equal deleted inserted replaced
693:8b7964869f7a 694:7e64e0f70cb6
6 #include <cairo-xlib.h> 6 #include <cairo-xlib.h>
7 #include "mb_graph_engine.h" 7 #include "mb_graph_engine.h"
8 #include "mb_redraw_man.h" 8 #include "mb_redraw_man.h"
9 #include "mb_timer.h" 9 #include "mb_timer.h"
10 #include "mb_X_supp.h" 10 #include "mb_X_supp.h"
11 11 #include "config.h"
12 #define XSHM 1
13 12
14 #ifdef XSHM 13 #ifdef XSHM
15 /* \sa http://www.xfree86.org/current/mit-shm.html */ 14 /* \sa http://www.xfree86.org/current/mit-shm.html */
16 #include <sys/ipc.h> 15 #include <sys/ipc.h>
17 #include <sys/shm.h> 16 #include <sys/shm.h>