diff --git a/lib/Makefile.b32 b/lib/Makefile.b32
index 3f37a77dd9b49c853616c152a0fda34362b3c27c..b72a1b3e3efc2014d801301094e768cbbe254710 100644
--- a/lib/Makefile.b32
+++ b/lib/Makefile.b32
@@ -23,7 +23,7 @@ INCDIRS    = -I$(CURNTDIR);$(TOPDIR)/include/
 # 'BCCDIR' has to be set up in your c:\autoexec.bat
 # i.e. SET BCCDIR = c:\Borland\BCC55
 # where c:\Borland\BCC55 is the compiler is installed
-LINKLIB	   = $(BCCDIR)/lib/psdk/wsock32.lib
+LINKLIB	   = $(BCCDIR)/lib/psdk/ws2_32.lib
 LIBCURLLIB = libcurl.lib
 
 .SUFFIXES: .c