openbsd-ports/security/gnutls/patches/patch-doc_examples_ex-client-psk_c
ajacoutot 4079be8ce1 Bugfix update to gnutls-2.12.3.
Incidentally fixes a build breakage when libgcrypt wasn't installed as
spotted by jasper@
2011-05-04 15:48:10 +00:00

12 lines
392 B
Plaintext

$OpenBSD: patch-doc_examples_ex-client-psk_c,v 1.1 2011/05/04 15:48:10 ajacoutot Exp $
--- doc/examples/ex-client-psk.c.orig Wed May 4 16:59:41 2011
+++ doc/examples/ex-client-psk.c Wed May 4 17:03:03 2011
@@ -9,6 +9,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <gnutls/gnutls.h>