openbsd-ports/security/gnutls/patches/patch-doc_examples_ex-serv-anon_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

14 lines
433 B
Plaintext

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