mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- fix compilation with libcurl >= 7.21.7
Long time deprecated <curl/types.h> was completely removed in libcurl 7.21.7. If CST also uses newer libcurl <curl/types.h> defines can savely be removed. Until then use "-DNEW_LIBCURL" for libcurl >= 7.21.7. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1560 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -143,11 +143,13 @@ void CAudiofileExt::operator=(const CAudiofileExt& src)
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
|
||||
#ifndef NEW_LIBCURL
|
||||
#include <curl/types.h>
|
||||
#endif
|
||||
|
||||
struct MemoryStruct {
|
||||
char *memory;
|
||||
size_t size;
|
||||
|
Reference in New Issue
Block a user