mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(includes): Added missing #include <ctime>
time(3) requires this include. Found when qTox failed to build on the FreeBSD due to the missing include.
This commit is contained in:
parent
0f54e44262
commit
e597d391fc
|
@ -32,6 +32,7 @@
|
|||
#include <QTimer>
|
||||
|
||||
#include <cassert>
|
||||
#include <ctime>
|
||||
|
||||
const QString Core::CONFIG_FILE_NAME = "data";
|
||||
const QString Core::TOX_EXT = ".tox";
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <QThread>
|
||||
#include <random>
|
||||
#include <unistd.h>
|
||||
#include <ctime>
|
||||
|
||||
/**
|
||||
* @var time_t IPC::lastEvent
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
|
||||
#include <sodium.h>
|
||||
#include <stdio.h>
|
||||
#include <ctime>
|
||||
|
||||
#if defined(Q_OS_OSX)
|
||||
#include "platform/install_osx.h"
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <QVector>
|
||||
|
||||
#include <check.h>
|
||||
#include <ctime>
|
||||
|
||||
using StringToString = QMap<QString, QString>;
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include <QString>
|
||||
#include <check.h>
|
||||
#include <ctime>
|
||||
|
||||
const QString corrupted =
|
||||
QStringLiteral("C7719C6808C14B77348004956D1D98046CE09A34370E7608150EAD74C3815D30C8BA3AB9BEBA");
|
||||
|
|
Loading…
Reference in New Issue
Block a user