Message ID | 20250122121314.550338-1-saravanan.s@lge.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1545c21c6162c4bb72389f6c4d723c11b2701e1b |
Headers | show |
Series | voicecall: Fix implicit-function-declaration fatal error with GCC-14 | expand |
Hello: This patch was applied to ofono.git (master) by Denis Kenzior <denkenz@gmail.com>: On Wed, 22 Jan 2025 17:43:14 +0530 you wrote: > Address below issue by adding missing header: > ofono-2.4/drivers/hfpmodem/voicecall.c:1081:17: > error: implicit declaration of function 'usleep'; > did you mean 'g_usleep'? [-Wimplicit-function-declaration] > --- > drivers/hfpmodem/voicecall.c | 1 + > 1 file changed, 1 insertion(+) Here is the summary with links: - voicecall: Fix implicit-function-declaration fatal error with GCC-14 https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=1545c21c6162 You are awesome, thank you!
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index 5a84db78..949337dc 100644 --- a/drivers/hfpmodem/voicecall.c +++ b/drivers/hfpmodem/voicecall.c @@ -12,6 +12,7 @@ #include <string.h> #include <stdlib.h> #include <stdio.h> +#include <unistd.h> #include <glib.h> #include <gatchat.h>