summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-28 07:43:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-28 07:43:53 +0000
commitfdf9900114a534c6f133b7c496f85cb33d042582 (patch)
tree2c651d5eb2aedf0081249dcc3941eb7985cb13dc
parent5867eb2dd2a43fb4f9935b958602d18e37ca8583 (diff)
downloadgnurl-fdf9900114a534c6f133b7c496f85cb33d042582.tar.gz
gnurl-fdf9900114a534c6f133b7c496f85cb33d042582.tar.bz2
gnurl-fdf9900114a534c6f133b7c496f85cb33d042582.zip
added note about the inclusion of curl.h from within this file
-rw-r--r--include/curl/multi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h
index d940571a2..96c2763ef 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -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