From: Dan Fandrich Date: Wed, 7 Dec 2011 03:54:48 +0000 (-0800) Subject: Added some include files in a couple of example programs X-Git-Tag: curl-7_24_0~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46724b87b769ff50e1e6b90d2aabc50b8ba7c1a9;p=curl Added some include files in a couple of example programs This improves portability of the examples. This patch was submitted to the OpenBSD ports collection by naddy. --- diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c index bab36c57b..2997a1e98 100644 --- a/docs/examples/anyauthput.c +++ b/docs/examples/anyauthput.c @@ -27,6 +27,7 @@ # ifdef __VMS typedef int intptr_t; # endif +# include # include #endif #include diff --git a/docs/examples/externalsocket.c b/docs/examples/externalsocket.c index 5951c078e..c4abafd87 100644 --- a/docs/examples/externalsocket.c +++ b/docs/examples/externalsocket.c @@ -36,6 +36,7 @@ #else #include /* socket types */ #include /* socket definitions */ +#include #include /* inet (3) funtions */ #include /* misc. UNIX functions */ #endif