From ee9b39a7b1b9959c4024404c625b4b980e58c8cb Mon Sep 17 00:00:00 2001 From: Simo Piiroinen Date: Thu, 8 Mar 2018 14:06:23 +0200 Subject: [PATCH] [build] Fix "implicit declaration of function" compilation warning usb_moded_send_whitelisted_modes_signal() function is used without including the header where the function is declared - which then leads to compilation time warnings. Fix the issue by adding the required #include statements. Signed-off-by: Simo Piiroinen --- src/usb_moded-config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/usb_moded-config.c b/src/usb_moded-config.c index 1986cbc..d6c0513 100644 --- a/src/usb_moded-config.c +++ b/src/usb_moded-config.c @@ -42,6 +42,8 @@ #include "usb_moded-log.h" #include "usb_moded-modes.h" #include "usb_moded-modesetting.h" +#include "usb_moded-dbus.h" +#include "usb_moded-dbus-private.h" #ifdef USE_MER_SSU # include "usb_moded-ssu.h"