mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Fix includes right throughout the Xserver tree:
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
<X11/extensions/foo.h> for extension headers, e.g. Xv.h;
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
This commit is contained in:
@@ -33,7 +33,7 @@ from The Open Group.
|
||||
#define CLOSESTR_H
|
||||
|
||||
#define NEED_REPLIES
|
||||
#include "Xproto.h"
|
||||
#include <X11/Xproto.h>
|
||||
#include "closure.h"
|
||||
#include "dix.h"
|
||||
#include "misc.h"
|
||||
|
||||
@@ -50,7 +50,7 @@ SOFTWARE.
|
||||
#ifndef CMAP_H
|
||||
#define CMAP_H 1
|
||||
|
||||
#include "X11/Xproto.h"
|
||||
#include <X11/Xproto.h>
|
||||
#include "screenint.h"
|
||||
#include "window.h"
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ SOFTWARE.
|
||||
#include "fontstruct.h"
|
||||
#include "closure.h"
|
||||
#define NEED_REPLIES
|
||||
#include "X11/Xproto.h" /* for xQueryFontReply */
|
||||
#include <X11/Xproto.h> /* for xQueryFontReply */
|
||||
|
||||
#define FONTCHARSET(font) (font)
|
||||
#define FONTMAXBOUNDS(font,field) (font)->info.maxbounds.field
|
||||
|
||||
@@ -50,9 +50,9 @@ SOFTWARE.
|
||||
#ifndef GC_H
|
||||
#define GC_H
|
||||
|
||||
#include "X11/X.h" /* for GContext, Mask */
|
||||
#include "Xdefs.h" /* for Bool */
|
||||
#include "X11/Xproto.h"
|
||||
#include <X11/X.h> /* for GContext, Mask */
|
||||
#include <X11/Xdefs.h> /* for Bool */
|
||||
#include <X11/Xproto.h>
|
||||
#include "screenint.h" /* for ScreenPtr */
|
||||
#include "pixmap.h" /* for DrawablePtr */
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ SOFTWARE.
|
||||
#include "region.h"
|
||||
#include "pixmap.h"
|
||||
#include "screenint.h"
|
||||
#include "Xprotostr.h"
|
||||
#include <X11/Xprotostr.h>
|
||||
|
||||
/*
|
||||
* functions which modify the state of the GC
|
||||
|
||||
@@ -52,8 +52,8 @@ SOFTWARE.
|
||||
|
||||
#include "misc.h"
|
||||
#include "screenint.h"
|
||||
#include "X11/Xmd.h"
|
||||
#include "X11/Xproto.h"
|
||||
#include <X11/Xmd.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include "window.h" /* for WindowPtr */
|
||||
|
||||
#define DEVICE_INIT 0
|
||||
|
||||
@@ -51,7 +51,7 @@ SOFTWARE.
|
||||
#define MISCSTRUCT_H 1
|
||||
|
||||
#include "misc.h"
|
||||
#include "X11/Xprotostr.h"
|
||||
#include <X11/Xprotostr.h>
|
||||
#include "gc.h"
|
||||
|
||||
typedef xPoint DDXPointRec;
|
||||
|
||||
@@ -56,7 +56,7 @@ SOFTWARE.
|
||||
#include "colormap.h"
|
||||
#include "cursor.h"
|
||||
#include "validate.h"
|
||||
#include "X11/Xproto.h"
|
||||
#include <X11/Xproto.h>
|
||||
#include "dix.h"
|
||||
|
||||
typedef struct _PixmapFormat {
|
||||
|
||||
@@ -53,7 +53,7 @@ SOFTWARE.
|
||||
#include "misc.h"
|
||||
#include "region.h"
|
||||
#include "screenint.h"
|
||||
#include "X11/Xproto.h"
|
||||
#include <X11/Xproto.h>
|
||||
|
||||
#define TOTALLY_OBSCURED 0
|
||||
#define UNOBSCURED 1
|
||||
|
||||
@@ -58,7 +58,7 @@ SOFTWARE.
|
||||
#include "resource.h" /* for ROOT_WINDOW_ID_BASE */
|
||||
#include "dix.h"
|
||||
#include "miscstruct.h"
|
||||
#include "X11/Xprotostr.h"
|
||||
#include <X11/Xprotostr.h>
|
||||
#include "opaque.h"
|
||||
|
||||
#define GuaranteeNothing 0
|
||||
|
||||
Reference in New Issue
Block a user