summaryrefslogtreecommitdiff
path: root/src/components/ble/DeviceInformationService.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ble/DeviceInformationService.h')
-rw-r--r--src/components/ble/DeviceInformationService.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/ble/DeviceInformationService.h b/src/components/ble/DeviceInformationService.h
index 25ab8402..94ca7bbf 100644
--- a/src/components/ble/DeviceInformationService.h
+++ b/src/components/ble/DeviceInformationService.h
@@ -1,9 +1,10 @@
#pragma once
-#include <cstdint>
-#include <array>
-
+#define min // workaround: nimble's min/max macros conflict with libstdc++
+#define max
#include <host/ble_gap.h>
-#include <Version.h>
+#undef max
+#undef min
+#include "Version.h"
namespace Pinetime {
namespace Controllers {