diff options
author | bcook <> | 2014-12-27 19:35:28 +0000 |
---|---|---|
committer | bcook <> | 2014-12-27 19:35:28 +0000 |
commit | 7405da27f42fe3c0731c7bd5b6b511f368fc6152 (patch) | |
tree | c4dd3c561f4b84abc9ac6ec6b1a46a485dc92dd0 | |
parent | 737e327bde55744a726a4841d6377373c280d642 (diff) | |
download | openbsd-7405da27f42fe3c0731c7bd5b6b511f368fc6152.tar.gz openbsd-7405da27f42fe3c0731c7bd5b6b511f368fc6152.tar.bz2 openbsd-7405da27f42fe3c0731c7bd5b6b511f368fc6152.zip |
include netinet/in.h to define struct in6_addr.
Noticed while testing libtls on FreeBSD.
-rw-r--r-- | src/lib/libtls/tls_client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libtls/tls_client.c b/src/lib/libtls/tls_client.c index 43819cf0b6..57d7262d19 100644 --- a/src/lib/libtls/tls_client.c +++ b/src/lib/libtls/tls_client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_client.c,v 1.5 2014/12/07 16:56:17 bcook Exp $ */ | 1 | /* $OpenBSD: tls_client.c,v 1.6 2014/12/27 19:35:28 bcook Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -19,6 +19,7 @@ | |||
19 | #include <sys/socket.h> | 19 | #include <sys/socket.h> |
20 | 20 | ||
21 | #include <arpa/inet.h> | 21 | #include <arpa/inet.h> |
22 | #include <netinet/in.h> | ||
22 | 23 | ||
23 | #include <netdb.h> | 24 | #include <netdb.h> |
24 | #include <stdlib.h> | 25 | #include <stdlib.h> |