From 5c30327275509576b7848a5f842e7a1bffabe980 Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Tue, 5 Feb 2008 21:06:05 -0500 Subject: [PATCH] XACE: Push the dix "structure" includes down to the security modules. --- Xext/security.c | 3 +++ Xext/xace.c | 4 ++++ Xext/xace.h | 8 ++++---- Xext/xacestr.h | 9 ++++----- Xext/xselinux.c | 17 +++++++++++------ 5 files changed, 26 insertions(+), 15 deletions(-) diff --git a/Xext/security.c b/Xext/security.c index 6aab3a342..069655964 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -29,6 +29,9 @@ in this Software without prior written authorization from The Open Group. #endif #include "scrnintstr.h" +#include "inputstr.h" +#include "windowstr.h" +#include "propertyst.h" #include "colormapst.h" #include "privates.h" #include "registry.h" diff --git a/Xext/xace.c b/Xext/xace.c index 9ffac450d..b2c7e4ab4 100644 --- a/Xext/xace.c +++ b/Xext/xace.c @@ -23,6 +23,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include "scrnintstr.h" +#include "extnsionst.h" +#include "pixmapstr.h" +#include "regionstr.h" +#include "gcstruct.h" #include "xacestr.h" CallbackListPtr XaceHooks[XACE_NUM_HOOKS] = {0}; diff --git a/Xext/xace.h b/Xext/xace.h index 24b9dce68..6f1f267ad 100644 --- a/Xext/xace.h +++ b/Xext/xace.h @@ -25,10 +25,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define XACE_MAJOR_VERSION 2 #define XACE_MINOR_VERSION 0 -#include "pixmap.h" /* for DrawablePtr */ -#include "regionstr.h" /* for RegionPtr */ -#include "window.h" /* for WindowPtr */ -#include "property.h" /* for PropertyPtr */ +#include "pixmap.h" +#include "region.h" +#include "window.h" +#include "property.h" /* Default window background */ #define XaceBackgroundNoneState None diff --git a/Xext/xacestr.h b/Xext/xacestr.h index 045f8364f..e31d4246a 100644 --- a/Xext/xacestr.h +++ b/Xext/xacestr.h @@ -20,13 +20,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef _XACESTR_H #define _XACESTR_H -#include "dixstruct.h" +#include "dix.h" #include "resource.h" #include "extnsionst.h" -#include "gcstruct.h" -#include "windowstr.h" -#include "inputstr.h" -#include "propertyst.h" +#include "window.h" +#include "input.h" +#include "property.h" #include "selection.h" #include "xace.h" diff --git a/Xext/xselinux.c b/Xext/xselinux.c index 47383a4a9..b3d938b0a 100644 --- a/Xext/xselinux.c +++ b/Xext/xselinux.c @@ -22,21 +22,28 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * All rights reserved. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + +#include +#include +#include + #include #include #include #include -#ifdef HAVE_DIX_CONFIG_H -#include -#endif - #include #include "resource.h" #include "privates.h" #include "registry.h" #include "dixstruct.h" +#include "inputstr.h" +#include "windowstr.h" +#include "propertyst.h" #include "extnsionst.h" #include "scrnintstr.h" #include "selection.h" @@ -46,8 +53,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define TRANS_SERVER #include #include "../os/osdep.h" -#include -#include #include "modinit.h"