build: Fix missing include
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 30 Oct 2024 13:33:59 +0000 (09:33 -0400)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 20 Feb 2025 07:43:24 +0000 (16:43 +0900)
This fixes the following build error:

profiles/input/manager.c:102:4: error: implicit declaration of function ‘free’ [-Werror=implicit-function-declaration]
  102 |    free(uhid_enabled);
      |    ^~~~

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
profiles/input/manager.c

index b703b377f12109b4703387b1569e8d1a606335f8..7da7e19f8852d1866e2470f894759abfd6ea2676 100755 (executable)
@@ -14,6 +14,7 @@
 
 #include <errno.h>
 #include <stdbool.h>
+#include <stdlib.h>
 
 #include "lib/bluetooth.h"
 #include "lib/sdp.h"