diff options
author | Simon Glass | 2020-05-10 11:39:56 -0600 |
---|---|---|
committer | Tom Rini | 2020-05-18 17:33:31 -0400 |
commit | 90526e9fbac47af16d70f323feae45d8d1b0f9b7 (patch) | |
tree | 2a89900cbb7a569491f0d9cab5835c7296ef2c25 /lib/net_utils.c | |
parent | c3dc39a2f85b16bf590789f7e283cd72275cd168 (diff) |
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 <sjg@chromium.org>
Diffstat (limited to 'lib/net_utils.c')
-rw-r--r-- | lib/net_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net_utils.c b/lib/net_utils.c index 8af77829705..0a8a557319c 100644 --- a/lib/net_utils.c +++ b/lib/net_utils.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <net.h> struct in_addr string_to_ip(const char *s) { |