glx: drop including dix-config.h from internal includes

The consumers always need to include <dix-config.h> at the very top
anyways, so no need to also include it (with extra guards) from
internal headers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-07-04 19:29:37 +02:00
parent d403cbd25c
commit f45c019265
11 changed files with 1 additions and 37 deletions

View File

@ -1,7 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _GLX_context_h_
#define _GLX_context_h_

View File

@ -1,7 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _GLX_drawable_h_
#define _GLX_drawable_h_

View File

@ -1,7 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _glxext_h_
#define _glxext_h_

View File

@ -1,7 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _GLX_screens_h_
#define _GLX_screens_h_

View File

@ -1,7 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _GLX_server_h_
#define _GLX_server_h_

View File

@ -1,7 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _glxcmds_h_
#define _glxcmds_h_

View File

@ -22,6 +22,7 @@
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#include <dix-config.h>
#include <inttypes.h>
#include "glxserver.h"

View File

@ -1,7 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _singlesize_h_
#define _singlesize_h_

View File

@ -1,7 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef __GLX_unpack_h__
#define __GLX_unpack_h__

View File

@ -26,11 +26,9 @@
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
#ifndef _XSERVER_VNDSERVER_PRIV_H
#define _XSERVER_VNDSERVER_PRIV_H
#include <dix-config.h>
#include "glxvndabi.h"
#include "vndserver.h"

View File

@ -26,12 +26,9 @@
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
#ifndef VND_SERVER_VENDOR_H
#define VND_SERVER_VENDOR_H
#include <dix-config.h>
#include "glxvndabi.h"
#include "list.h"