File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636
3737#ifdef WITH_ZEPHYR
3838#ifdef HAVE_NET_SOCKET_H
39- #include <net/socket.h>
39+ #include <zephyr/ net/socket.h>
4040#endif /* HAVE_NET_SOCKET_H */
4141typedef int in_port_t ;
4242#endif /* WITH_ZEPHYR */
Original file line number Diff line number Diff line change 2525#include "session.h"
2626
2727#ifdef WITH_ZEPHYR
28- #include <logging/log.h>
28+ #include <zephyr/ logging/log.h>
2929#endif /* WITH_ZEPHYR */
3030
3131#ifdef RIOT_VERSION
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ typedef uint32_t clock_time_t;
5555
5656#elif defined(WITH_ZEPHYR )
5757
58- #include <zephyr.h>
58+ #include <zephyr/kernel .h>
5959
6060#ifndef CLOCK_SECOND
6161# define CLOCK_SECOND 1000
Original file line number Diff line number Diff line change 1818 *
1919 *******************************************************************************/
2020
21+ #include <zephyr/random/rand32.h>
22+
2123#include "tinydtls.h"
2224#include "dtls_prng.h"
23- #include "random/rand32.h"
2425
2526int
2627dtls_prng (unsigned char * buf , size_t len ) {
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ typedef struct {
6666#else /* ! WITH_CONTIKI && ! WITH_RIOT_SOCK && ! WITH_LWIP_NO_SOCKET */
6767
6868#ifdef WITH_ZEPHYR
69- #include <zephyr.h>
69+ #include <zephyr/kernel .h>
7070#ifdef HAVE_NET_SOCKET_H
71- #include <net/socket.h>
71+ #include <zephyr/ net/socket.h>
7272#endif /* HAVE_NET_SOCKET_H */
7373
7474#elif defined(WITH_LWIP )
You can’t perform that action at this time.
0 commit comments