mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user