aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/win32sockets.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/examples/win32sockets.c b/docs/examples/win32sockets.c
index 59b31a44d..5f791c8b5 100644
--- a/docs/examples/win32sockets.c
+++ b/docs/examples/win32sockets.c
@@ -1,5 +1,11 @@
/*
+ * Note: This is only required if you use curl 7.8 or lower, later
+ * versions provide an option to curl_global_init() that does the
+ * win32 initialization for you.
+ */
+
+/*
* These are example functions doing socket init that Windows
* require. If you don't use windows, you can safely ignore this crap.
*/