summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-28 01:59:21 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-28 01:59:21 +0000
commit7c1509e0a79ede51146d38469e63c1437f2d4907 (patch)
treedd20c486e2f2aa2adf2bd6d687917fc4e926a361
parentc7e90323583875f9029df6b012ce604f4d3ddb87 (diff)
Fix compile errors on BSD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11773 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/socketengines/socketengine_kqueue.h1
-rw-r--r--src/inspsocket.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/socketengines/socketengine_kqueue.h b/include/socketengines/socketengine_kqueue.h
index 80993e2d4..468d6cea9 100644
--- a/include/socketengines/socketengine_kqueue.h
+++ b/include/socketengines/socketengine_kqueue.h
@@ -29,6 +29,7 @@
class KQueueEngine : public SocketEngine
{
private:
+ int EngineHandle;
/** These are used by kqueue() to hold socket events
*/
struct kevent* ke_list;
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 9acd484fd..062f6b644 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -15,6 +15,7 @@
#include "socket.h"
#include "inspstring.h"
#include "socketengine.h"
+#include <sys/uio.h>
BufferedSocket::BufferedSocket()
{