- 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:
striper
2011-07-04 10:03:09 +00:00
parent 0fd23488fe
commit 0b80855c4d
4 changed files with 16 additions and 5 deletions

View File

@@ -56,9 +56,12 @@
#define SQUASHFS
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>
#ifndef NEW_LIBCURL
#include <curl/types.h>
#endif
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>