Bake in http_lib.c when HAVE_NETPLAY is defined

This commit is contained in:
twinaphex 2014-12-20 21:29:24 +01:00
parent 4cc853b9be
commit 854910951c
2 changed files with 2 additions and 1 deletions

View File

@ -599,7 +599,7 @@ endif
ifeq ($(HAVE_NETPLAY), 1)
DEFINES += -DHAVE_NETPLAY -DHAVE_NETWORK_CMD
OBJ += netplay.o
#OBJ += http_lib.o
OBJ += http_lib.o
ifneq ($(findstring Win32,$(OS)),)
LIBS += -lws2_32
endif

View File

@ -640,6 +640,7 @@ NETPLAY
============================================================ */
#ifdef HAVE_NETPLAY
#include "../netplay.c"
#include "../http_lib.c"
#endif
/*============================================================