summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/touchscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/touchscreen.h')
-rw-r--r--apps/plugins/lib/touchscreen.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/lib/touchscreen.h b/apps/plugins/lib/touchscreen.h
index 7050db6..cd5251e 100644
--- a/apps/plugins/lib/touchscreen.h
+++ b/apps/plugins/lib/touchscreen.h
@@ -22,7 +22,9 @@
#ifndef _PLUGIN_LIB_TOUCHSCREEN_H_
#define _PLUGIN_LIB_TOUCHSCREEN_H_
-#ifdef HAVE_TOUCHPAD
+#include "plugin.h"
+
+#ifdef HAVE_TOUCHSCREEN
struct ts_mapping
{
@@ -88,5 +90,5 @@ struct ts_raster_button_result
struct ts_raster_button_result touchscreen_raster_map_button(struct ts_raster_button_mapping *map, int x, int y, int button);
-#endif /* HAVE_TOUCHPAD */
+#endif /* HAVE_TOUCHSCREEN */
#endif /* _PLUGIN_LIB_TOUCHSCREEN_H_ */