From 53b82bbd26a03a1ae5f782af378e177628418090 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Wed, 21 Dec 2022 20:05:56 +0100 Subject: [PATCH] Some include tweaks --- src/cursors.c | 3 +-- src/ecompmgr.c | 1 - src/x.c | 6 ++++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cursors.c b/src/cursors.c index 3b9c1cce..ad04fd77 100644 --- a/src/cursors.c +++ b/src/cursors.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors - * Copyright (C) 2004-2021 Kim Woelders + * Copyright (C) 2004-2022 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -26,7 +26,6 @@ #include #include #if USE_COMPOSITE -#include #include #endif diff --git a/src/ecompmgr.c b/src/ecompmgr.c index 09094e09..1e2d7ad6 100644 --- a/src/ecompmgr.c +++ b/src/ecompmgr.c @@ -39,7 +39,6 @@ #include #include #include -#include #include #if USE_XPRESENT #include diff --git a/src/x.c b/src/x.c index 51db8e67..e134a795 100644 --- a/src/x.c +++ b/src/x.c @@ -34,6 +34,10 @@ #include #define RENDER_VERSION VERS(RENDER_MAJOR, RENDER_MINOR) #endif +#if USE_COMPOSITE +#include +#include +#endif #if USE_XI2 #include #endif @@ -1992,8 +1996,6 @@ EGetTimestamp(void) #if USE_COMPOSITE -#include - EX_Pixmap EWindowGetPixmap(const Win win) {