From da8bb7f7ee0f74ff3777407295514e4dedd01e90 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Wed, 12 Dec 2018 07:03:37 +0100 Subject: [PATCH] Add header guards and all necessary includes to download.h. --- src/client/curl/header/download.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/client/curl/header/download.h b/src/client/curl/header/download.h index 6f90991a..a71ca662 100644 --- a/src/client/curl/header/download.h +++ b/src/client/curl/header/download.h @@ -26,10 +26,14 @@ #ifdef USE_CURL +#ifndef DOWNLOAD_H +#define DOWNLOAD_H + // Number of max. parallel downloads. #define MAX_HTTP_HANDLES 16 #include +#include "../../../common/header/common.h" typedef enum { @@ -70,4 +74,5 @@ qboolean CL_PendingHTTPDownloads(void); void CL_SetHTTPServer(const char *URL); void CL_HTTP_Cleanup(qboolean fullShutdown); -#endif +#endif // DOWNLOAD_H +#endif // USE_CURL