logging: Fix network backend compilation
Because of include file changes, we now need to include both hostname.h and net_if.h in the syslog logging module directly. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
6924b0d49a
commit
b042c5796a
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ LOG_MODULE_REGISTER(log_backend_net, CONFIG_LOG_DEFAULT_LEVEL);
|
||||||
#include <zephyr/logging/log_core.h>
|
#include <zephyr/logging/log_core.h>
|
||||||
#include <zephyr/logging/log_output.h>
|
#include <zephyr/logging/log_output.h>
|
||||||
#include <zephyr/logging/log_backend_net.h>
|
#include <zephyr/logging/log_backend_net.h>
|
||||||
|
#include <zephyr/net/hostname.h>
|
||||||
|
#include <zephyr/net/net_if.h>
|
||||||
#include <zephyr/net/socket.h>
|
#include <zephyr/net/socket.h>
|
||||||
|
|
||||||
/* Set this to 1 if you want to see what is being sent to server */
|
/* Set this to 1 if you want to see what is being sent to server */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue