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

19 lines
522 B
Plaintext

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