Merge pull request #1021 from gustavoz/master

Add <time.h> includes where appropiate
This commit is contained in:
Alexey Sokolov
2015-08-07 09:25:54 +01:00
14 changed files with 14 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
#include <znc/User.h>
#include <syslog.h>
#include <time.h>
class CAdminLogMod : public CModule {
public:

View File

@@ -16,6 +16,7 @@
#include <znc/Modules.h>
#include <znc/Chan.h>
#include <time.h>
class CCtcpFloodMod : public CModule {
public:

View File

@@ -16,6 +16,7 @@
#include <znc/Chan.h>
#include <znc/IRCNetwork.h>
#include <time.h>
using std::map;

View File

@@ -16,6 +16,7 @@
#include <znc/User.h>
#include <znc/znc.h>
#include <time.h>
using std::map;
using std::pair;

View File

@@ -20,6 +20,7 @@
#include <znc/IRCNetwork.h>
#include <znc/Chan.h>
#include <znc/Server.h>
#include <time.h>
#include <algorithm>
using std::vector;

View File

@@ -16,6 +16,7 @@
#include <znc/User.h>
#include <znc/IRCNetwork.h>
#include <time.h>
#define SIMPLE_AWAY_DEFAULT_REASON "Auto away at %s"
#define SIMPLE_AWAY_DEFAULT_TIME 60

View File

@@ -17,6 +17,7 @@
#include <znc/Buffer.h>
#include <znc/znc.h>
#include <znc/User.h>
#include <time.h>
CBufLine::CBufLine(const CString& sFormat, const CString& sText, const timeval* ts) : m_sFormat(sFormat), m_sText(sText), m_time() {
if (ts == nullptr)

View File

@@ -22,6 +22,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
#ifndef HAVE_LSTAT
# define lstat(a, b) stat(a, b)

View File

@@ -20,6 +20,7 @@
#include <znc/IRCNetwork.h>
#include <znc/Server.h>
#include <znc/Query.h>
#include <time.h>
using std::set;
using std::vector;

View File

@@ -22,6 +22,7 @@
#include <znc/Chan.h>
#include <znc/Query.h>
#include <math.h>
#include <time.h>
#include <algorithm>
using std::vector;

View File

@@ -19,6 +19,7 @@
#include <znc/User.h>
#include <znc/IRCNetwork.h>
#include <znc/znc.h>
#include <time.h>
#include <algorithm>
#include <sstream>

View File

@@ -18,6 +18,7 @@
#include <iostream>
#include <sys/time.h>
#include <stdio.h>
#include <time.h>
bool CDebug::stdoutIsTTY = true;
bool CDebug::debug =

View File

@@ -16,6 +16,7 @@
#include <znc/znc.h>
#include <signal.h>
#include <time.h>
#if defined(HAVE_LIBSSL) && defined(HAVE_PTHREAD)
#include <znc/Threads.h>

View File

@@ -21,6 +21,7 @@
#include <znc/User.h>
#include <znc/IRCNetwork.h>
#include <znc/Config.h>
#include <time.h>
#include <tuple>
#include <algorithm>