From 22eaed78a746da5011cc446261f29575d6496152 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 Dec 2014 22:17:50 +0100 Subject: [PATCH] Add header guard to http_lib.h --- griffin/griffin.c | 1 + http_lib.h | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/griffin/griffin.c b/griffin/griffin.c index 786ee80b2d..0774cdb481 100644 --- a/griffin/griffin.c +++ b/griffin/griffin.c @@ -641,6 +641,7 @@ NETPLAY #ifdef HAVE_NETPLAY #include "../netplay.c" #include "../http_lib.c" +#include "../http_intf.c" #endif /*============================================================ diff --git a/http_lib.h b/http_lib.h index 2069fc6c9e..5272369086 100644 --- a/http_lib.h +++ b/http_lib.h @@ -9,8 +9,10 @@ * */ - /* declarations */ +#ifndef _HTTP_LIB_H +#define _HTTP_LIB_H + /* declarations */ extern char *http_server; @@ -70,3 +72,5 @@ http_retcode http_delete(const char *filename) ; http_retcode http_head(const char *filename, int *plength, char *typebuf); #endif + +#endif