1
0
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:
Yuri 2017-04-10 14:39:11 -07:00
parent 0f54e44262
commit e597d391fc
5 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#include <QTimer>
#include <cassert>
#include <ctime>
const QString Core::CONFIG_FILE_NAME = "data";
const QString Core::TOX_EXT = ".tox";

View File

@ -24,6 +24,7 @@
#include <QThread>
#include <random>
#include <unistd.h>
#include <ctime>
/**
* @var time_t IPC::lastEvent

View File

@ -40,6 +40,7 @@
#include <sodium.h>
#include <stdio.h>
#include <ctime>
#if defined(Q_OS_OSX)
#include "platform/install_osx.h"

View File

@ -27,6 +27,7 @@
#include <QVector>
#include <check.h>
#include <ctime>
using StringToString = QMap<QString, QString>;

View File

@ -23,6 +23,7 @@
#include <QString>
#include <check.h>
#include <ctime>
const QString corrupted =
QStringLiteral("C7719C6808C14B77348004956D1D98046CE09A34370E7608150EAD74C3815D30C8BA3AB9BEBA");