diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xi2.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xi2.c index d7b569c787..fecd4c27d9 100644 --- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xi2.c +++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xi2.c @@ -14,6 +14,10 @@ int _ecore_x_xi2_opcode = -1; +#ifndef XIPointerEmulated +#define XIPointerEmulated (1 << 16) +#endif + #ifdef ECORE_XI2 static XIDeviceInfo *_ecore_x_xi2_devs = NULL; static int _ecore_x_xi2_num = 0;