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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0b80855c4d
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-07-04 (Mon, 04 Jul 2011)

Origin message was:
------------------
- 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 was generated by Migit
This commit is contained in:
gixxpunk
2011-07-04 10:03:09 +00:00
parent 6e2818b1f5
commit 407a62a18d
4 changed files with 16 additions and 5 deletions

View File

@@ -57,9 +57,12 @@
#include <sys/stat.h>
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>
#ifndef NEW_LIBCURL
#include <curl/types.h>
#endif
#include <driver/encoding.h>
#include <xmltree/xmlinterface.h>