From 90526e9fbac47af16d70f323feae45d8d1b0f9b7 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:39:56 -0600 Subject: common: Drop net.h from common header Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion. Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc. Signed-off-by: Simon Glass --- net/arp.c | 1 + net/bootp.c | 1 + net/ping.c | 1 + 3 files changed, 3 insertions(+) (limited to 'net') diff --git a/net/arp.c b/net/arp.c index b49c3d3..4b12b69 100644 --- a/net/arp.c +++ b/net/arp.c @@ -10,6 +10,7 @@ */ #include +#include #include "arp.h" diff --git a/net/bootp.c b/net/bootp.c index c73a82e..2c918d8 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include "bootp.h" diff --git a/net/ping.c b/net/ping.c index 633c942..024e8ea 100644 --- a/net/ping.c +++ b/net/ping.c @@ -11,6 +11,7 @@ #include "ping.h" #include "arp.h" +#include static ushort ping_seq_number; -- cgit v1.1