include: Fix use of <crc.h> -> <sys/crc.h>

Fix #include <crc.h> as it has been deprecated and
should be #include <sys/crc.h>.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-12-09 14:50:58 -06:00 committed by Anas Nashif
commit 6561b19bc5
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ LOG_MODULE_REGISTER(net_ppp, LOG_LEVEL);
#include <net/net_if.h>
#include <net/net_core.h>
#include <console/uart_pipe.h>
#include <crc.h>
#include <sys/crc.h>
#include "../../subsys/net/ip/net_stats.h"
#include "../../subsys/net/ip/net_private.h"

View file

@ -17,7 +17,7 @@ LOG_MODULE_REGISTER(net_test, NET_LOG_LEVEL);
#include <string.h>
#include <errno.h>
#include <sys/printk.h>
#include <crc.h>
#include <sys/crc.h>
#include <ztest.h>