diff --git a/src/backends/x11/meta-input-device-x11.c b/src/backends/x11/meta-input-device-x11.c index cc73a0c33..32aa9b4a3 100644 --- a/src/backends/x11/meta-input-device-x11.c +++ b/src/backends/x11/meta-input-device-x11.c @@ -195,6 +195,7 @@ meta_input_device_x11_get_property (GObject *object, } } +#ifdef HAVE_LIBWACOM #ifndef HAVE_LIBWACOM_GET_NUM_RINGS static int libwacom_get_num_rings (WacomDevice *device) @@ -208,6 +209,7 @@ libwacom_get_num_rings (WacomDevice *device) return 0; } #endif +#endif static int meta_input_device_x11_get_group_n_modes (ClutterInputDevice *device,