Fix MSVC build

Include ctime for std::time_t
This commit is contained in:
Simon Hausmann 2021-05-04 15:35:27 +02:00
parent 4965be73ea
commit 1265c73e01
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,8 @@
LICENSE END */
#include "printerdemo.h"
#include <ctime>
struct InkLevelModel : sixtyfps::Model<InkLevel>
{
int row_count() const override { return m_data.size(); }

View file

@ -9,6 +9,8 @@
LICENSE END */
#include <sixtyfps_interpreter.h>
#include <ctime>
using sixtyfps::interpreter::Value;
struct InkLevelModel : sixtyfps::Model<Value>