net: Include env.h in pcap.c
authorSimon Glass <sjg@chromium.org>
Thu, 15 May 2025 23:31:48 +0000 (17:31 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:30:25 +0000 (08:30 -0600)
This file uses the environment but does not include the header file.
Update it.

Signed-off-by: Simon Glass <sjg@chromium.org>
net/pcap.c

index c959e3e..d1d6f70 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2019 Ramon Fried <rfried.dev@gmail.com>
  */
 
+#include <env.h>
 #include <net.h>
 #include <net/pcap.h>
 #include <time.h>