mirror of
https://github.com/anope/anope.git
synced 2026-07-06 20:43:12 +02:00
Windows fixes
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "memo.h"
|
||||
#include "users.h"
|
||||
#include "account.h"
|
||||
#include "regchannel.h"
|
||||
|
||||
Memo::Memo() : Flags<MemoFlag>(MemoFlagStrings), Serializable("Memo") { }
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "modules.h"
|
||||
#include "extern.h"
|
||||
#include "users.h"
|
||||
#include "regchannel.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "modules.h"
|
||||
#include "users.h"
|
||||
#include "protocol.h"
|
||||
#include "regchannel.h"
|
||||
|
||||
NickAlias* findnick(const Anope::string &nick)
|
||||
{
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "protocol.h"
|
||||
#include "servers.h"
|
||||
#include "users.h"
|
||||
#include "regchannel.h"
|
||||
|
||||
/** Main process routine
|
||||
* @param buffer A raw line from the uplink to do things with
|
||||
|
||||
@@ -27,7 +27,7 @@ Pipe::Pipe() : Socket(-1), WritePipe(-1)
|
||||
flags = fcntl(fds[1], F_GETFL, 0);
|
||||
fcntl(fds[1], F_SETFL, flags | O_NONBLOCK);
|
||||
|
||||
this->~Socket();
|
||||
this->~Pipe();
|
||||
|
||||
this->Sock = fds[0];
|
||||
this->WritePipe = fds[1];
|
||||
|
||||
Reference in New Issue
Block a user