aboutsummaryrefslogtreecommitdiffstats
path: root/input/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/main.c')
-rw-r--r--input/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/main.c b/input/main.c
index 722bc490..d1623ec1 100644
--- a/input/main.c
+++ b/input/main.c
@@ -86,6 +86,7 @@ static void input_exit(void)
BLUETOOTH_PLUGIN_DEFINE(input, VERSION, BLUETOOTH_PLUGIN_PRIORITY_DEFAULT,
input_init, input_exit)
+#ifdef HAVE_LINUX_UHID_H
static int hog_init(void)
{
if (!main_opts.gatt_enabled) {
@@ -106,3 +107,4 @@ static void hog_exit(void)
BLUETOOTH_PLUGIN_DEFINE(hog, VERSION, BLUETOOTH_PLUGIN_PRIORITY_DEFAULT,
hog_init, hog_exit)
+#endif