summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2014-12-27 19:35:29 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2014-12-27 19:35:29 +0000
commit83f89c7a121838518624197076284ec60b5143f9 (patch)
treeadcdf815cb0e84ddf4922b8082a5016c4ffe62c4 /lib
parent3694dbf9a84dd9456fae8d0327776f2b68286b0a (diff)
include netinet/in.h to define struct in6_addr.
Noticed while testing libtls on FreeBSD.
Diffstat (limited to 'lib')
-rw-r--r--lib/libtls/tls_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libtls/tls_client.c b/lib/libtls/tls_client.c
index 43819cf0b6f..57d7262d192 100644
--- a/lib/libtls/tls_client.c
+++ b/lib/libtls/tls_client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_client.c,v 1.5 2014/12/07 16:56:17 bcook Exp $ */
+/* $OpenBSD: tls_client.c,v 1.6 2014/12/27 19:35:28 bcook Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -19,6 +19,7 @@
#include <sys/socket.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <netdb.h>
#include <stdlib.h>