From 46724b87b769ff50e1e6b90d2aabc50b8ba7c1a9 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 6 Dec 2011 19:54:48 -0800 Subject: 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. --- docs/examples/anyauthput.c | 1 + docs/examples/externalsocket.c | 1 + 2 files changed, 2 insertions(+) (limited to 'docs/examples') 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 -- cgit v1.2.3