From 1afeff749735e1f30b288e67888170ed190d87d2 Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Wed, 21 Oct 2020 21:25:54 +0200 Subject: [PATCH] examples/*: add explicit include of timex.h --- examples/dtls-echo/dtls-client.c | 1 + examples/dtls-echo/dtls-server.c | 1 + examples/dtls-sock/dtls-server.c | 1 + examples/nimble_heart_rate_sensor/main.c | 1 + 4 files changed, 4 insertions(+) diff --git a/examples/dtls-echo/dtls-client.c b/examples/dtls-echo/dtls-client.c index f8ab7e9221..b90b9e44f2 100644 --- a/examples/dtls-echo/dtls-client.c +++ b/examples/dtls-echo/dtls-client.c @@ -24,6 +24,7 @@ #include #include +#include "timex.h" #include "net/sock/udp.h" #include "tinydtls_keys.h" diff --git a/examples/dtls-echo/dtls-server.c b/examples/dtls-echo/dtls-server.c index 8fed742a82..f527149b40 100644 --- a/examples/dtls-echo/dtls-server.c +++ b/examples/dtls-echo/dtls-server.c @@ -27,6 +27,7 @@ #include "net/sock/udp.h" #include "msg.h" +#include "timex.h" #include "tinydtls_keys.h" /* TinyDTLS */ diff --git a/examples/dtls-sock/dtls-server.c b/examples/dtls-sock/dtls-server.c index 31e0c908fb..123a7ab5a2 100644 --- a/examples/dtls-sock/dtls-server.c +++ b/examples/dtls-sock/dtls-server.c @@ -23,6 +23,7 @@ #include "net/credman.h" #include "msg.h" #include "thread.h" +#include "timex.h" #include "tinydtls_keys.h" diff --git a/examples/nimble_heart_rate_sensor/main.c b/examples/nimble_heart_rate_sensor/main.c index d45492c639..4aff69759b 100644 --- a/examples/nimble_heart_rate_sensor/main.c +++ b/examples/nimble_heart_rate_sensor/main.c @@ -25,6 +25,7 @@ #include "event/timeout.h" #include "nimble_riot.h" #include "net/bluetil/ad.h" +#include "timex.h" #include "host/ble_hs.h" #include "host/ble_gatt.h"