summaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-10 17:48:04 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-10 17:48:04 +0000
commit1312f2db8ed90464e73acdcc07bb1aae92964345 (patch)
treeb8e55a20699c6308ccd20030f9c737140bf6171d /src/inspsocket.cpp
parent3151262b41f011e0f5707565461ce46447f12b07 (diff)
* Fix inspsocket to not include uio.h on windows.
* Wrap writev and some structs to fix inspsocket compile on win. * Fix a few compile errors due to latest trunk changes in win32wrapper code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11822 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 73f469a05..c63748eab 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -15,7 +15,9 @@
#include "socket.h"
#include "inspstring.h"
#include "socketengine.h"
+#ifndef WINDOWS
#include <sys/uio.h>
+#endif
BufferedSocket::BufferedSocket()
{