openbsd-ports/security/gnutls/patches/patch-gl_tests_test-getaddrinfo_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

15 lines
538 B
Plaintext

$OpenBSD: patch-gl_tests_test-getaddrinfo_c,v 1.1 2011/05/04 15:48:10 ajacoutot Exp $
--- gl/tests/test-getaddrinfo.c.orig Wed May 4 16:59:41 2011
+++ gl/tests/test-getaddrinfo.c Wed May 4 17:01:59 2011
@@ -28,9 +28,9 @@ SIGNATURE_CHECK (getaddrinfo, int, (char const *, char
struct addrinfo const *,
struct addrinfo **));
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
-#include <netinet/in.h>
#include <stdio.h>
#include <string.h>