Commit 1f1356a2f5ee91ae077038c9e7b7a8fccc4180b8 introduces a compiler warning.

The fix is simple: Include <string.h> in net/icmp/icmp_input.c.

Something is broken at GitHub (or my GitHub account, or my
incubator-nuttx fork, or something). Therefore I am sending a patch
instead of a pull request.

Patch attached...

Cheers,
Nathan
From 2ba54345a0a2df6ecc8a22dc5fc866ab7fdf634e Mon Sep 17 00:00:00 2001
From: Nathan Hartman <hartman.nat...@gmail.com>
Date: Tue, 25 Feb 2020 13:10:43 -0500
Subject: [PATCH] net/icmp/icmp_input.c: Fix memset() implicit decl warning

---
 net/icmp/icmp_input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/icmp/icmp_input.c b/net/icmp/icmp_input.c
index 1c9bf88bad..a184bdfe82 100644
--- a/net/icmp/icmp_input.c
+++ b/net/icmp/icmp_input.c
@@ -47,6 +47,7 @@
 #ifdef CONFIG_NET
 
 #include <stdint.h>
+#include <string.h>
 #include <debug.h>
 
 #include <net/if.h>
-- 
2.20.1

Reply via email to