xfree86: input: mouse: include <xorg-config.h> instead of <xorg-server.h>

If we're in Xserver tree, we must not include <xorg-server.h>,
but <xorg-config.h> instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-16 16:27:46 +01:00
parent 94d6337555
commit 7104573a0f
6 changed files with 4 additions and 24 deletions

View File

@@ -26,7 +26,7 @@
* authorization from the copyright holder(s) and author(s).
*/
#include <xorg-server.h>
#include <xorg-config.h>
#include <errno.h>
#include <sys/stat.h>

View File

@@ -21,11 +21,8 @@
*
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include <xorg-server.h>
#include <X11/X.h>
#include <X11/Xproto.h>
#include "inputstr.h"

View File

@@ -3,11 +3,8 @@
* Copyright 1999 by The XFree86 Project, Inc.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <xorg-config.h>
#include <xorg-server.h>
#include <X11/X.h>
#include "xf86.h"
#include "xf86Xinput.h"

View File

@@ -43,11 +43,8 @@
* and to help limited dexterity persons
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <xorg-config.h>
#include <xorg-server.h>
#include <math.h>
#include <string.h>
#include <stdio.h>

View File

@@ -20,11 +20,8 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <xorg-config.h>
#include <xorg-server.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>

View File

@@ -45,14 +45,7 @@
* dealings in this Software without prior written authorization from the
* XFree86 Project.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include <unistd.h> /* for ioctl(2) */
#include <sys/stropts.h>
@@ -60,7 +53,6 @@
#include <sys/msio.h>
#include <fcntl.h>
#include <errno.h>
#include "xorg-server.h"
#include "xf86.h"
#include "xf86_OSlib.h"
#include "mouse.h"