include: dont include xorg-config.h

Those public headers shouldn't ever attempt to include xorg-config.h.
All xfree86 source files need to include it at the very top anyway,
while drivers have to include xorg-server.h instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-02-13 12:59:41 +01:00
committed by Enrico Weigelt
parent bb821cf041
commit 5d0dc36712
3 changed files with 0 additions and 12 deletions

View File

@@ -56,14 +56,9 @@
* This file contains the Option Record that is passed between the Parser,
* and Module setup procs.
*/
#ifndef _xf86Optrec_h_
#define _xf86Optrec_h_
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include <stdio.h>
#include <string.h>
#include "xf86Optionstr.h"

View File

@@ -56,14 +56,9 @@
* This file contains the external interfaces for the XFree86 configuration
* file parser.
*/
#ifndef _xf86Parser_h_
#define _xf86Parser_h_
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include <X11/Xdefs.h>
#include "xf86Optrec.h"
#include "list.h"

View File

@@ -23,8 +23,6 @@
#ifndef _XF86_SBUS_H
#define _XF86_SBUS_H
#include <xorg-config.h>
#if defined(__linux__)
#include <asm/types.h>
#include <linux/fb.h>