summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
{