mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-06-03 10:11:39 +00:00
Add header guards and all necessary includes to download.h.
This commit is contained in:
parent
f0d244e7b4
commit
da8bb7f7ee
1 changed files with 6 additions and 1 deletions
|
@ -26,10 +26,14 @@
|
||||||
|
|
||||||
#ifdef USE_CURL
|
#ifdef USE_CURL
|
||||||
|
|
||||||
|
#ifndef DOWNLOAD_H
|
||||||
|
#define DOWNLOAD_H
|
||||||
|
|
||||||
// Number of max. parallel downloads.
|
// Number of max. parallel downloads.
|
||||||
#define MAX_HTTP_HANDLES 16
|
#define MAX_HTTP_HANDLES 16
|
||||||
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
#include "../../../common/header/common.h"
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
@ -70,4 +74,5 @@ qboolean CL_PendingHTTPDownloads(void);
|
||||||
void CL_SetHTTPServer(const char *URL);
|
void CL_SetHTTPServer(const char *URL);
|
||||||
void CL_HTTP_Cleanup(qboolean fullShutdown);
|
void CL_HTTP_Cleanup(qboolean fullShutdown);
|
||||||
|
|
||||||
#endif
|
#endif // DOWNLOAD_H
|
||||||
|
#endif // USE_CURL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue