summaryrefslogtreecommitdiff
path: root/doc/examples/ex-serv-pgp.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/ex-serv-pgp.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/ex-serv-pgp.c')
-rw-r--r--doc/examples/ex-serv-pgp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/ex-serv-pgp.c b/doc/examples/ex-serv-pgp.c
index fe7204164c..fc8ffa1027 100644
--- a/doc/examples/ex-serv-pgp.c
+++ b/doc/examples/ex-serv-pgp.c
@@ -8,6 +8,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <string.h>
#include <unistd.h>
#include <gnutls/gnutls.h>