random: Include header where it is used
Unit tests were failing to build because random header was included by kernel_includes.h. The problem is that rand32.h includes a generated file that is either not generated or not included when building unit tests. Also, it is better to limit the scope of this file to where it is used. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
6216c6cf5b
commit
c4f7faea10
60 changed files with 62 additions and 1 deletions
|
@ -14,6 +14,7 @@ LOG_MODULE_REGISTER(net_ethernet, CONFIG_NET_L2_ETHERNET_LOG_LEVEL);
|
|||
#include <net/ethernet.h>
|
||||
#include <net/ethernet_mgmt.h>
|
||||
#include <net/gptp.h>
|
||||
#include <random/rand32.h>
|
||||
|
||||
#if defined(CONFIG_NET_LLDP)
|
||||
#include <net/lldp.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue