--- a/libpurple/plugins/perl/common/Makefile.mingw Mon Feb 24 18:15:13 2014 +0100 +++ b/libpurple/plugins/perl/common/Makefile.mingw Mon Feb 24 21:22:04 2014 +0100 @@ -7,6 +7,9 @@ PIDGIN_TREE_TOP := ../../../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak +#we cannot include win32dep.h, but we need struct sockaddr_in6 definition +CFLAGS += -include ws2tcpip.h + GCCWARNINGS += -Wno-comment -Wno-unused -Wno-nested-externs DEFINES := $(subst -DWIN32_LEAN_AND_MEAN,,$(DEFINES))