diff options
author | Brent Cook <bcook@cvs.openbsd.org> | 2014-12-27 19:35:29 +0000 |
---|---|---|
committer | Brent Cook <bcook@cvs.openbsd.org> | 2014-12-27 19:35:29 +0000 |
commit | 83f89c7a121838518624197076284ec60b5143f9 (patch) | |
tree | adcdf815cb0e84ddf4922b8082a5016c4ffe62c4 | |
parent | 3694dbf9a84dd9456fae8d0327776f2b68286b0a (diff) |
include netinet/in.h to define struct in6_addr.
Noticed while testing libtls on FreeBSD.
-rw-r--r-- | lib/libtls/tls_client.c | 3 |
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> |