Add missing standard includes

This commit is contained in:
Reinhold Gschweicher 2021-11-03 23:02:30 +01:00
parent ac7b2da611
commit f2918709d9
7 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#pragma once #pragma once
#include <cstdint>
#include <cstddef>
namespace Pinetime { namespace Pinetime {
class BootloaderVersion { class BootloaderVersion {
public: public:

View File

@ -2,6 +2,8 @@
@VERSION_EDIT_WARNING@ @VERSION_EDIT_WARNING@
#include <cstdint>
namespace Pinetime { namespace Pinetime {
class Version { class Version {
public: public:

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include <cstdint>
#define min // workaround: nimble's min/max macros conflict with libstdc++ #define min // workaround: nimble's min/max macros conflict with libstdc++
#define max #define max
#include <host/ble_gap.h> #include <host/ble_gap.h>

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include <cstdint>
namespace Pinetime { namespace Pinetime {
namespace Applications { namespace Applications {
namespace Display { namespace Display {

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include <cstdint>
namespace Pinetime { namespace Pinetime {
namespace Applications { namespace Applications {

View File

@ -2,6 +2,7 @@
#include <lvgl/lvgl.h> #include <lvgl/lvgl.h>
#include <cstdint> #include <cstdint>
#include <algorithm> // std::fill
#include "displayapp/screens/Screen.h" #include "displayapp/screens/Screen.h"
namespace Pinetime { namespace Pinetime {

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include <cstdint>
namespace Pinetime { namespace Pinetime {
namespace PinMap { namespace PinMap {