aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/anyauthput.c1
-rw-r--r--docs/examples/externalsocket.c1
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