[PATCH v3 19/22] net: Include env.h in pcap.c
Tom Rini
trini at konsulko.com
Fri May 16 01:31:48 CEST 2025
From: Simon Glass <sjg at chromium.org>
This file uses the environment but does not include the header file.
Update it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3:
- None
---
net/pcap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/pcap.c b/net/pcap.c
index c959e3e4e511..d1d6f705cda0 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