diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-06-10 05:04:44 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-06-10 05:04:44 +0200 |
commit | 7d3ef7bbfd09ce0a8d8dbdb651fdaa862f75af21 (patch) | |
tree | fc0c3e76d8184d0649cbeb293a3fbe2de6a62ec0 | |
parent | ddd477993505b1a97b705489c45a3f63594452b8 (diff) |
Fix undefined references.
-rw-r--r-- | bitlbee.h | 2 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | irc.c | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -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 @@ -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 ;; * ) @@ -25,6 +25,7 @@ #define BITLBEE_CORE #include "bitlbee.h" +#include "sock.h" #include "crypting.h" #include "ipc.h" |