cURL / Mailing Lists / curl-library / Single Mail

curl-library

erroneous include of multi.h

From: Bryan Henderson <bryanh_at_giraffe-data.com>
Date: Fri, 25 Nov 2005 22:26:11 +0100

I don't think multi.h is supposed to include curl.h, as it does today.
curl.h includes multi.h (at the end of curl.h). And I presume any
program using libcurl is supposed to include curl/curl.h and nothing
else explicitly.

Index: include/curl/multi.h
===================================================================
RCS file: /cvsroot/curl/curl/include/curl/multi.h,v
retrieving revision 1.26
diff -u -r1.26 multi.h
--- include/curl/multi.h 18 Oct 2005 07:26:43 -0000 1.26
+++ include/curl/multi.h 25 Nov 2005 21:15:08 -0000
@@ -66,8 +66,6 @@
 #include <sys/types.h>
 #endif
 
-#include "curl.h"
-
 #ifdef __cplusplus
 extern "C" {
 #endif
Received on 2005-11-25