From 854910951c6c9ad453408871fe0b3c426a08c8e1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 Dec 2014 21:29:24 +0100 Subject: [PATCH] Bake in http_lib.c when HAVE_NETPLAY is defined --- Makefile.common | 2 +- griffin/griffin.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index b7c7c685cf..7c90e7ba46 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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 diff --git a/griffin/griffin.c b/griffin/griffin.c index 8d4b859d7f..786ee80b2d 100644 --- a/griffin/griffin.c +++ b/griffin/griffin.c @@ -640,6 +640,7 @@ NETPLAY ============================================================ */ #ifdef HAVE_NETPLAY #include "../netplay.c" +#include "../http_lib.c" #endif /*============================================================