diff options
Diffstat (limited to 'include/xkbsrv.h')
-rw-r--r-- | include/xkbsrv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/xkbsrv.h b/include/xkbsrv.h index b3a831919..7c92f6491 100644 --- a/include/xkbsrv.h +++ b/include/xkbsrv.h @@ -275,7 +275,9 @@ typedef struct device->public.realInputProc = oldprocs->realInputProc; \ device->unwrapProc = oldprocs->unwrapProc; -extern DevPrivateKey xkbDevicePrivateKey; +extern _X_EXPORT DevPrivateKeyRec xkbDevicePrivateKeyRec; +#define xkbDevicePrivateKey (&xkbDevicePrivateKeyRec) + #define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr)dixLookupPrivate(&(dev)->devPrivates, xkbDevicePrivateKey)) extern void xkbUnwrapProc(DeviceIntPtr, DeviceHandleProc, pointer); |