diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-03-19 13:09:52 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-03-22 23:24:33 -0700 |
commit | 091e5f0fc73d7cdda2dcb72fbe198a0103476d77 (patch) | |
tree | b286465606d1e796b36b6529e1387a0cb814bb8b | |
parent | 431918bd9644dd5db2216e8ab61959e9a4b74bc0 (diff) |
Move Pixel typedef from xwd.c to wsutils.h
Removes need for including <X11/Intrinsic.h> in multiVis.c just to get
the Pixel typedef, which resolves
https://bugs.freedesktop.org/show_bug.cgi?id=47462 without adding a
dependency on libXt.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | multiVis.c | 1 | ||||
-rw-r--r-- | wsutils.h | 2 | ||||
-rw-r--r-- | xwd.c | 1 |
3 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,6 @@ from The Open Group. #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/X.h> -#include <X11/Intrinsic.h> #include <stdio.h> #include "list.h" #include "wsutils.h" @@ -41,6 +41,8 @@ from The Open Group. * ******************************************************************************/ +typedef unsigned long Pixel; + /* This is the actual structure returned by the X server describing the * SERVER_OVERLAY_VISUAL property. */ @@ -71,7 +71,6 @@ in this Software without prior written authorization from The Open Group. #include <X11/Xlib.h> #include <X11/Xutil.h> -typedef unsigned long Pixel; #include "X11/XWDFile.h" #define FEEP_VOLUME 0 |