miext: drop using HAVE_DIX_CONFIG_H

This symbol is always defined, and the header is always present,
so no need to check for it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-07-04 16:55:05 +02:00
parent eea2bb0700
commit 564d269e62
9 changed files with 18 additions and 44 deletions

View File

@ -19,14 +19,11 @@
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _DAMAGE_H_
#define _DAMAGE_H_
#include <dix-config.h>
typedef struct _damage *DamagePtr;
typedef enum _damageReportLevel {

View File

@ -19,14 +19,11 @@
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _DAMAGESTR_H_
#define _DAMAGESTR_H_
#include <dix-config.h>
#include "damage.h"
#include "gcstruct.h"
#include "privates.h"

View File

@ -27,14 +27,11 @@
* holders shall not be used in advertising or otherwise to promote the sale,
* use or other dealings in this Software without prior written authorization.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _ROOTLESS_H
#define _ROOTLESS_H
#include <dix-config.h>
#include "rootlessConfig.h"
#include "mi.h"
#include "gcstruct.h"

View File

@ -27,15 +27,13 @@
* holders shall not be used in advertising or otherwise to promote the sale,
* use or other dealings in this Software without prior written authorization.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include <stdint.h>
#ifndef _ROOTLESSCOMMON_H
#define _ROOTLESSCOMMON_H
#include <dix-config.h>
#include <stdint.h>
#include "misc.h"
#include "rootless.h"
#include "fb.h"

View File

@ -26,14 +26,11 @@
* holders shall not be used in advertising or otherwise to promote the sale,
* use or other dealings in this Software without prior written authorization.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _ROOTLESSCONFIG_H
#define _ROOTLESSCONFIG_H
#include <dix-config.h>
/*# define ROOTLESSDEBUG*/
#define ROOTLESS_PROTECT_ALPHA TRUE

View File

@ -26,14 +26,11 @@
* holders shall not be used in advertising or otherwise to promote the sale,
* use or other dealings in this Software without prior written authorization.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _ROOTLESSWINDOW_H
#define _ROOTLESSWINDOW_H
#include <dix-config.h>
#include "dix/screen_hooks_priv.h"
#include "rootlessCommon.h"

View File

@ -25,10 +25,7 @@
* Thanks to Daniel Chemko <dchemko@intrinsyc.com> for making the 90 and 180
* orientations work.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include <stdlib.h>

View File

@ -20,14 +20,11 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _MISYNC_H_
#define _MISYNC_H_
#include <dix-config.h>
typedef struct _SyncObject SyncObject;
typedef struct _SyncFence SyncFence;
typedef struct _SyncTrigger SyncTrigger;

View File

@ -20,14 +20,11 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _MISYNCSTR_H_
#define _MISYNCSTR_H_
#include <dix-config.h>
#include <stdint.h>
#include "dix.h"
#include "misync.h"