Fix includes to work with newer Curl

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6557 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 210999c7f9579487ffd09f19a7b48202679ceea5
Former-commit-id: eecc8835dad177320983058f13f0ab53358ca9fe
This commit is contained in:
beaglejoe 2018-11-08 22:25:20 +00:00
parent 34f87cff14
commit 12e6aef9f6
4 changed files with 17 additions and 7 deletions

View file

@ -22,11 +22,14 @@
@version $Id$
*/
#ifdef WEBSERVER
#ifndef _SD_WEBSERVER_H_
#define _SD_WEBSERVER_H_
#include "tgfclient.h"
#include <vector>
#include <string>
#include <ctime>
#include <curl/multi.h>
#include <curl/curl.h>
struct webRequest_t {
int id;
@ -127,6 +130,8 @@ class TGFCLIENT_API WebServer {
//destructor
~WebServer();
};
#endif //_SD_WEBSERVER_H_
#endif //WEBSERVER

View file

@ -42,11 +42,12 @@
#include <robottools.h>
#include <replay.h>
#include <portability.h>
#include <tgf.hpp>
#ifdef WEBSERVER
#include <webserver.h>
#endif //WEBSERVER
#include <portability.h>
#include <racemanagers.h>
#include <race.h>

View file

@ -28,12 +28,14 @@
#include <algorithm>
#include <string>
#include <portability.h>
#include <robot.h>
#ifdef WEBSERVER
#include <webserver.h>
#endif //WEBSERVER
#include <portability.h>
#include <robot.h>
#include "standardgame.h"
#include "racesituation.h"

View file

@ -23,15 +23,17 @@
#include <deque>
#include <string>
#ifdef WEBSERVER
#include <webserver.h>
#endif //WEBSERVER
#include <portability.h>
#include <tgfclient.h>
#include <robot.h>
#include <playerpref.h>
#include <graphic.h>
#include <gui.h>
#ifdef WEBSERVER
#include <webserver.h>
#endif //WEBSERVER
#include <drivers.h>