mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Merge pull request #1021 from gustavoz/master
Add <time.h> includes where appropiate
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <znc/User.h>
|
||||
|
||||
#include <syslog.h>
|
||||
#include <time.h>
|
||||
|
||||
class CAdminLogMod : public CModule {
|
||||
public:
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <znc/Modules.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <time.h>
|
||||
|
||||
class CCtcpFloodMod : public CModule {
|
||||
public:
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <time.h>
|
||||
|
||||
using std::map;
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <znc/User.h>
|
||||
#include <znc/znc.h>
|
||||
#include <time.h>
|
||||
|
||||
using std::map;
|
||||
using std::pair;
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/Server.h>
|
||||
#include <time.h>
|
||||
#include <algorithm>
|
||||
|
||||
using std::vector;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/Query.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
#include <algorithm>
|
||||
|
||||
using std::vector;
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <znc/User.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/znc.h>
|
||||
#include <time.h>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <iostream>
|
||||
#include <sys/time.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
bool CDebug::stdoutIsTTY = true;
|
||||
bool CDebug::debug =
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <znc/User.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/Config.h>
|
||||
#include <time.h>
|
||||
#include <tuple>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user