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

18 lines
458 B
Plaintext

$OpenBSD: patch-gl_tests_test-inet_pton_c,v 1.1 2011/05/04 15:48:10 ajacoutot Exp $
--- gl/tests/test-inet_pton.c.orig Wed May 4 16:59:41 2011
+++ gl/tests/test-inet_pton.c Wed May 4 17:02:27 2011
@@ -18,12 +18,12 @@
#include <config.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include "signature.h"
SIGNATURE_CHECK (inet_pton, int, (int, const char *, void *));
-#include <netinet/in.h>
#include <sys/socket.h>
#include "macros.h"