aboutsummaryrefslogtreecommitdiff
path: root/irc.h
diff options
context:
space:
mode:
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index 91c3ffe686..1dc348a8be 100644
--- a/irc.h
+++ b/irc.h
@@ -1,6 +1,11 @@
// Copyright (c) 2009 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
+
+#ifndef __WXMSW__
+#define closesocket(s) close(s)
+typedef u_int SOCKET;
+#endif
extern bool RecvLine(SOCKET hSocket, string& strLine);
extern void ThreadIRCSeed(void* parg);