fix compiler warning about XKB_IN_SERVER redefinition

This commit is contained in:
Greg Kroah-Hartman 2006-06-07 12:33:44 -07:00
parent 101ae61696
commit 8f5aa38abf
2 changed files with 4 additions and 0 deletions

View File

@ -66,7 +66,9 @@ SOFTWARE.
#include "cursorstr.h"
#include "dixstruct.h"
#include "site.h"
#ifndef XKB_IN_SERVER
#define XKB_IN_SERVER
#endif
#ifdef XKB
#include <X11/extensions/XKBsrv.h>
#endif

View File

@ -115,7 +115,9 @@ int ProcInitialConnection();
#include <X11/extensions/Xagsrv.h>
#endif
#ifdef XKB
#ifndef XKB_IN_SERVER
#define XKB_IN_SERVER
#endif
#include "inputstr.h"
#include <X11/extensions/XKBsrv.h>
#endif