added note about the inclusion of curl.h from within this file
authorDaniel Stenberg <daniel@haxx.se>
Mon, 28 Nov 2005 07:43:53 +0000 (07:43 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Nov 2005 07:43:53 +0000 (07:43 +0000)
include/curl/multi.h

index d940571..96c2763 100644 (file)
 #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