From 7d3ef7bbfd09ce0a8d8dbdb651fdaa862f75af21 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 10 Jun 2008 05:04:44 +0200 Subject: Fix undefined references. --- bitlbee.h | 2 ++ configure | 2 +- irc.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3