aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitlbee.h2
-rwxr-xr-xconfigure2
-rw-r--r--irc.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/bitlbee.h b/bitlbee.h
index d1722377..37f9a1c1 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -28,6 +28,8 @@
#define _GNU_SOURCE /* Stupid GNU :-P */
+#define _WIN32_WINNT 0x0501
+
#define PACKAGE "BitlBee"
#define BITLBEE_VERSION "1.2"
#define VERSION BITLBEE_VERSION
diff --git a/configure b/configure
index 23e0a5c3..d92a2fc6 100755
--- a/configure
+++ b/configure
@@ -511,7 +511,7 @@ CYGWIN* )
;;
Windows )
echo OUTFILE=bitlbee.exe >> Makefile.settings
- echo LFLAGS+=-lwsock32 >> Makefile.settings
+ echo LFLAGS+=-lws2_32 >> Makefile.settings
echo EFLAGS+=-lsecur32 >> Makefile.settings
;;
* )
diff --git a/irc.c b/irc.c
index a6220140..c850b65c 100644
--- a/irc.c
+++ b/irc.c
@@ -25,6 +25,7 @@
#define BITLBEE_CORE
#include "bitlbee.h"
+#include "sock.h"
#include "crypting.h"
#include "ipc.h"