[PATCH v2 20/22] net: Include env.h in pcap.c

Simon Glass sjg at chromium.org
Thu May 1 03:04:45 CEST 2025


This file uses the environment but does not include the header file.
Update it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 net/pcap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/pcap.c b/net/pcap.c
index c959e3e4e51..d1d6f705cda 100644
--- a/net/pcap.c
+++ b/net/pcap.c
@@ -3,6 +3,7 @@
  * Copyright 2019 Ramon Fried <rfried.dev at gmail.com>
  */
 
+#include <env.h>
 #include <net.h>
 #include <net/pcap.h>
 #include <time.h>
-- 
2.43.0



More information about the U-Boot mailing list