summaryrefslogtreecommitdiff
path: root/doc/examples/tcp.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-08-27 20:50:13 +0000
committerSimon Josefsson <simon@josefsson.org>2006-08-27 20:50:13 +0000
commit8d6b598678f2a550d869f2f11d4c963182a40256 (patch)
treeae994e425776c7c03ba59c0728e9b16c7ca1eea6 /doc/examples/tcp.c
parent9367132074d7b6845921707c7978d000be0d1e2e (diff)
downloadgnutls-8d6b598678f2a550d869f2f11d4c963182a40256.tar.gz
Include netinet/in.h for FreeBSD, reported by Roman Bogorodskiy <novel@FreeBSD.org>.
Diffstat (limited to 'doc/examples/tcp.c')
-rw-r--r--doc/examples/tcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/tcp.c b/doc/examples/tcp.c
index b085eac4f5..5e9f2b74b3 100644
--- a/doc/examples/tcp.c
+++ b/doc/examples/tcp.c
@@ -8,6 +8,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <unistd.h>
#define SA struct sockaddr