From 90d23dbd997d73eee6cf014815b7668c0f53f14b Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Sun, 15 Dec 2024 08:53:01 +0800 Subject: [PATCH] gdb_packet: add missing include gdb_packet.h now calls `strlen()`, but does not have the include for it. This causes build failures on systems where warnings are treated as errors. Add `#include ` to `gdb_packet.h` to fix this warning. Signed-off-by: Sean Cross --- src/include/gdb_packet.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/gdb_packet.h b/src/include/gdb_packet.h index 7046cfe86c7..5d38d2655b7 100644 --- a/src/include/gdb_packet.h +++ b/src/include/gdb_packet.h @@ -24,6 +24,7 @@ #include #include #include +#include /* Allow override in other platforms if needed */ #ifndef GDB_PACKET_BUFFER_SIZE