diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2011-12-06 19:54:48 -0800 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2011-12-06 19:54:48 -0800 |
commit | 46724b87b769ff50e1e6b90d2aabc50b8ba7c1a9 (patch) | |
tree | 1be2fe524fe31e6d5b44127bf611c291195537cd /docs | |
parent | 82a4d26e7f43f2088df560772e779df6c1caeae2 (diff) |
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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/anyauthput.c | 1 | ||||
-rw-r--r-- | docs/examples/externalsocket.c | 1 |
2 files changed, 2 insertions, 0 deletions
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 <stdint.h> # include <unistd.h> #endif #include <sys/types.h> 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 <sys/types.h> /* socket types */ #include <sys/socket.h> /* socket definitions */ +#include <netinet/in.h> #include <arpa/inet.h> /* inet (3) funtions */ #include <unistd.h> /* misc. UNIX functions */ #endif |