aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/curl/curl.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 4b79eca9f..761e69a2b 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -31,11 +31,15 @@
* http://cool.haxx.se/mailman/listinfo/curl-library/
*/
+/*
+ * Leading 'curl' path on the 'curlbuild.h' include statement is
+ * required to properly allow building outside of the source tree,
+ * due to the fact that in this case 'curlbuild.h' is generated in
+ * a subdirectory of the build tree while 'curl.h actually remains
+ * in a subdirectory of the source tree.
+ */
+
#include "curlver.h" /* libcurl version defines */
-/* The leading path on the following include statement is required to properly
- allow building outside of the source tree, because then curlbuild.h is not
- generated in the same directory as curl.h. Do not remove it, unless you
- know what you're doing. */
#include "curl/curlbuild.h" /* libcurl build definitions */
#include "curlrules.h" /* libcurl rules enforcement */