added note about the inclusion of curl.h from within this file

This commit is contained in:
Daniel Stenberg 2005-11-28 07:43:53 +00:00
parent 5867eb2dd2
commit fdf9900114
1 changed files with 9 additions and 0 deletions

View File

@ -66,6 +66,15 @@
#include <sys/types.h>
#endif
/*
* This header file should not really need to include "curl.h" since curl.h
* itself includes this file and we expect user applications to do #include
* <curl/curl.h> without the need for especially including multi.h.
*
* For some reason we added this include here at one point, and rather than to
* break existing (wrongly written) libcurl applications, we leave it as-is
* but with this warning attached.
*/
#include "curl.h"
#ifdef __cplusplus