Added include of easy.h to enable libcurl-using programs to *only* have to
authorDaniel Stenberg <daniel@haxx.se>
Sun, 4 Mar 2001 15:32:44 +0000 (15:32 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 4 Mar 2001 15:32:44 +0000 (15:32 +0000)
include <curl/curl.h>

include/curl/curl.h

index 6d89f28..d36e654 100644 (file)
@@ -512,6 +512,10 @@ typedef enum {
   CURLINFO_LASTONE          = 17
 } CURLINFO;
 
+/* unfortunately, the easy.h include file needs the options and info stuff
+   before it can be included! */
+#include <curl/easy.h> /* nothing in curl is fun without the easy stuff */
+
 /*
  * NAME curl_getinfo()
  *