Commit 3739a9b3 authored by Ulrich Sibiller's avatar Ulrich Sibiller

xserver: use own copy of XKBsrv.h header

just like upstream does
parent f0c0ff41
...@@ -63,7 +63,7 @@ SOFTWARE. ...@@ -63,7 +63,7 @@ SOFTWARE.
#include "site.h" #include "site.h"
#define XKB_IN_SERVER #define XKB_IN_SERVER
#ifdef XKB #ifdef XKB
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#endif #endif
#ifdef XCSECURITY #ifdef XCSECURITY
#define _SECURITY_SERVER #define _SECURITY_SERVER
......
...@@ -111,7 +111,7 @@ int ProcInitialConnection(); ...@@ -111,7 +111,7 @@ int ProcInitialConnection();
#ifdef XKB #ifdef XKB
#define XKB_IN_SERVER #define XKB_IN_SERVER
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#endif #endif
#define mskcnt ((MAXCLIENTS + 31) / 32) #define mskcnt ((MAXCLIENTS + 31) / 32)
......
...@@ -129,7 +129,7 @@ of the copyright holder. ...@@ -129,7 +129,7 @@ of the copyright holder.
#include "globals.h" #include "globals.h"
#ifdef XKB #ifdef XKB
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
extern Bool XkbFilterEvents(ClientPtr, int, xEvent *); extern Bool XkbFilterEvents(ClientPtr, int, xEvent *);
#endif #endif
......
...@@ -75,6 +75,7 @@ is" without express or implied warranty. ...@@ -75,6 +75,7 @@ is" without express or implied warranty.
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <nx-X11/extensions/XKBsrv.h>
#include <nx-X11/extensions/XKBstr.h>
#include <nx-X11/extensions/XKBconfig.h> #include <nx-X11/extensions/XKBconfig.h>
#include <nx-X11/extensions/XKBrules.h> #include <nx-X11/extensions/XKBrules.h>
......
...@@ -141,7 +141,7 @@ OR PERFORMANCE OF THIS SOFTWARE. ...@@ -141,7 +141,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#endif #endif
#ifdef XKB #ifdef XKB
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#endif #endif
#ifdef XCSECURITY #ifdef XCSECURITY
#define _SECURITY_SERVER #define _SECURITY_SERVER
......
...@@ -46,7 +46,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -46,7 +46,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <nx-X11/Xproto.h> #include <nx-X11/Xproto.h>
#include "misc.h" #include "misc.h"
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBgeom.h> #include <nx-X11/extensions/XKBgeom.h>
#endif /* XKB_IN_SERVER */ #endif /* XKB_IN_SERVER */
......
...@@ -45,7 +45,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -45,7 +45,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <nx-X11/Xproto.h> #include <nx-X11/Xproto.h>
#include "misc.h" #include "misc.h"
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBgeom.h> #include <nx-X11/extensions/XKBgeom.h>
#endif /* XKB_IN_SERVER */ #endif /* XKB_IN_SERVER */
......
...@@ -47,7 +47,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -47,7 +47,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/keysym.h> #include <nx-X11/keysym.h>
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#endif /* XKB_IN_SERVER */ #endif /* XKB_IN_SERVER */
......
...@@ -47,7 +47,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -47,7 +47,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/keysym.h> #include <nx-X11/keysym.h>
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#endif /* XKB_IN_SERVER */ #endif /* XKB_IN_SERVER */
......
...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#if (defined(__osf__) && defined(__alpha)) #if (defined(__osf__) && defined(__alpha))
......
...@@ -37,7 +37,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -37,7 +37,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "windowstr.h" #include "windowstr.h"
#include "os.h" #include "os.h"
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBconfig.h> #include <nx-X11/extensions/XKBconfig.h>
Bool Bool
......
...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
void void
......
...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#include <nx-X11/extensions/XIproto.h> #include <nx-X11/extensions/XIproto.h>
......
...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
void void
......
...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#ifdef PANORAMIX #ifdef PANORAMIX
......
...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
int int
......
...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
void void
......
...@@ -39,7 +39,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -39,7 +39,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#ifdef XF86DDXACTIONS #ifdef XF86DDXACTIONS
......
...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
void void
......
...@@ -39,7 +39,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -39,7 +39,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#ifndef PATH_MAX #ifndef PATH_MAX
......
...@@ -50,7 +50,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -50,7 +50,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#include "xkb.h" #include "xkb.h"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <nx-X11/X.h> #include <nx-X11/X.h>
#include "windowstr.h" #include "windowstr.h"
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#ifdef XF86DDXACTIONS #ifdef XF86DDXACTIONS
#include "xf86.h" #include "xf86.h"
......
...@@ -39,7 +39,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -39,7 +39,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#ifdef XF86DDXACTIONS #ifdef XF86DDXACTIONS
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
#include "dix.h" #include "dix.h"
#include <nx-X11/extensions/XKBstr.h> #include <nx-X11/extensions/XKBstr.h>
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#endif #endif
......
...@@ -34,7 +34,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -34,7 +34,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "misc.h" #include "misc.h"
#include "inputstr.h" #include "inputstr.h"
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include "extnsionst.h" #include "extnsionst.h"
#include "xkb.h" #include "xkb.h"
#include "protocol-versions.h" #include "protocol-versions.h"
......
...@@ -37,7 +37,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -37,7 +37,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <nx-X11/Xproto.h> #include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h> #include <nx-X11/keysym.h>
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#if !defined(WIN32) && !defined(Lynx) #if !defined(WIN32) && !defined(Lynx)
#include <sys/time.h> #include <sys/time.h>
#endif #endif
......
...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <nx-X11/keysym.h> #include <nx-X11/keysym.h>
#include "misc.h" #include "misc.h"
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include "xkb.h" #include "xkb.h"
#include <ctype.h> #include <ctype.h>
......
...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#include "inputstr.h" #include "inputstr.h"
#include "windowstr.h" #include "windowstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include "xkb.h" #include "xkb.h"
/***====================================================================***/ /***====================================================================***/
......
...@@ -47,7 +47,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -47,7 +47,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "property.h" #include "property.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBgeom.h> #include <nx-X11/extensions/XKBgeom.h>
#include <nx-X11/extensions/XKMformat.h> #include <nx-X11/extensions/XKMformat.h>
#include <nx-X11/extensions/XKBfile.h> #include <nx-X11/extensions/XKBfile.h>
......
...@@ -37,7 +37,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -37,7 +37,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include "xkb.h" #include "xkb.h"
/***====================================================================***/ /***====================================================================***/
......
...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -35,7 +35,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <nx-X11/keysym.h> #include <nx-X11/keysym.h>
#include "misc.h" #include "misc.h"
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <ctype.h> #include <ctype.h>
......
...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <nx-X11/keysym.h> #include <nx-X11/keysym.h>
#include "misc.h" #include "misc.h"
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XI.h> #include <nx-X11/extensions/XI.h>
#include <nx-X11/extensions/XIproto.h> #include <nx-X11/extensions/XIproto.h>
......
...@@ -33,7 +33,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -33,7 +33,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <nx-X11/Xproto.h> #include <nx-X11/Xproto.h>
#include "misc.h" #include "misc.h"
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBstr.h> #include <nx-X11/extensions/XKBstr.h>
#include "extnsionst.h" #include "extnsionst.h"
#include "xkb.h" #include "xkb.h"
......
...@@ -39,7 +39,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -39,7 +39,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "inputstr.h" #include "inputstr.h"
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBgeom.h> #include <nx-X11/extensions/XKBgeom.h>
#include "xkb.h" #include "xkb.h"
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#include "inputstr.h" #include "inputstr.h"
#include "dix.h" #include "dix.h"
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#endif #endif
#include <nx-X11/extensions/XKBconfig.h> #include <nx-X11/extensions/XKBconfig.h>
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#include "dix.h" #include "dix.h"
#include <nx-X11/extensions/XKBstr.h> #include <nx-X11/extensions/XKBstr.h>
#define XKBSRV_NEED_FILE_FUNCS 1 #define XKBSRV_NEED_FILE_FUNCS 1
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBgeom.h> #include <nx-X11/extensions/XKBgeom.h>
#include "xkb.h" #include "xkb.h"
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#include "dix.h" #include "dix.h"
#include <nx-X11/extensions/XKBstr.h> #include <nx-X11/extensions/XKBstr.h>
#define XKBSRV_NEED_FILE_FUNCS 1 #define XKBSRV_NEED_FILE_FUNCS 1
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBgeom.h> #include <nx-X11/extensions/XKBgeom.h>
#include <nx-X11/extensions/XKBfile.h> #include <nx-X11/extensions/XKBfile.h>
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#include "dix.h" #include "dix.h"
#include <nx-X11/extensions/XKBstr.h> #include <nx-X11/extensions/XKBstr.h>
#define XKBSRV_NEED_FILE_FUNCS 1 #define XKBSRV_NEED_FILE_FUNCS 1
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBgeom.h> #include <nx-X11/extensions/XKBgeom.h>
#endif #endif
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#include "inputstr.h" #include "inputstr.h"
#include <nx-X11/extensions/XKBstr.h> #include <nx-X11/extensions/XKBstr.h>
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <nx-X11/extensions/XKBsrv.h> #include <xkbsrv.h>
#include <nx-X11/extensions/XKBgeom.h> #include <nx-X11/extensions/XKBgeom.h>
Atom Atom
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment