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
Родитель 5867eb2dd2
Коммит fdf9900114
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -66,6 +66,15 @@
#include <sys/types.h> #include <sys/types.h>
#endif #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" #include "curl.h"
#ifdef __cplusplus #ifdef __cplusplus