summaryrefslogtreecommitdiff
path: root/src/components/ble/CurrentTimeClient.h
diff options
context:
space:
mode:
authorokaestne <git@oliver-kaestner.de>2020-11-15 14:05:51 (GMT)
committerokaestne <git@oliver-kaestner.de>2020-11-16 00:35:45 (GMT)
commit1516573df46239ea76b7a8b142a6b719668cb26d (patch)
treeb11259f8ca0e10e3d1e2da5df827703ac0294317 /src/components/ble/CurrentTimeClient.h
parentc3475b92fad2eff4b2a43e5343863d11fe4caca3 (diff)
Include cleanup: components
Diffstat (limited to 'src/components/ble/CurrentTimeClient.h')
-rw-r--r--src/components/ble/CurrentTimeClient.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/ble/CurrentTimeClient.h b/src/components/ble/CurrentTimeClient.h
index 9313939..1b2e018 100644
--- a/src/components/ble/CurrentTimeClient.h
+++ b/src/components/ble/CurrentTimeClient.h
@@ -1,13 +1,15 @@
#pragma once
+#define min // workaround: nimble's min/max macros conflict with libstdc++
+#define max
+#include <host/ble_gap.h>
+#undef max
+#undef min
#include <cstdint>
-#include <array>
-
-#include "components/datetime/DateTimeController.h"
#include "BleClient.h"
-#include <host/ble_gap.h>
namespace Pinetime {
namespace Controllers {
+ class DateTime;
class CurrentTimeClient : public BleClient {
public: