aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ble/MusicService.cpp2
-rw-r--r--src/components/ble/MusicService.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/components/ble/MusicService.cpp b/src/components/ble/MusicService.cpp
index 94d97f46..43cbec70 100644
--- a/src/components/ble/MusicService.cpp
+++ b/src/components/ble/MusicService.cpp
@@ -18,6 +18,8 @@
#include "components/ble/MusicService.h"
#include "components/ble/NimbleController.h"
#include <cstring>
+#include <FreeRTOS.h>
+#include <task.h>
namespace {
// 0000yyxx-78fc-48fe-8e23-433b3a1942d0
diff --git a/src/components/ble/MusicService.h b/src/components/ble/MusicService.h
index f4b902fe..93d94a34 100644
--- a/src/components/ble/MusicService.h
+++ b/src/components/ble/MusicService.h
@@ -25,6 +25,7 @@
#include <host/ble_uuid.h>
#undef max
#undef min
+#include <FreeRTOS.h>
namespace Pinetime {
namespace Controllers {