|
Removed
Link Here
|
| 1 |
From 96fb72e7cbac29086e51c57e5b629ac5a739e0e2 Mon Sep 17 00:00:00 2001 |
| 2 |
From: "Todd C. Miller" <Todd.Miller@sudo.ws> |
| 3 |
Date: Wed, 12 May 2021 07:27:09 -0600 |
| 4 |
Subject: [PATCH] Explicitly include netinet/in.h for struct sockaddr_in and |
| 5 |
sockaddr+_in6. Fixes a compilation problem on FreeBSD. |
| 6 |
|
| 7 |
--- |
| 8 |
lib/iolog/hostcheck.c | 1 + |
| 9 |
1 file changed, 1 insertion(+) |
| 10 |
|
| 11 |
diff --git lib/iolog/hostcheck.c lib/iolog/hostcheck.c |
| 12 |
index 0dee14b79..3eeabd262 100644 |
| 13 |
--- lib/iolog/hostcheck.c |
| 14 |
+++ lib/iolog/hostcheck.c |
| 15 |
@@ -24,6 +24,7 @@ |
| 16 |
#if defined(HAVE_OPENSSL) |
| 17 |
# include <sys/types.h> |
| 18 |
# include <sys/socket.h> |
| 19 |
+# include <netinet/in.h> |
| 20 |
# include <arpa/inet.h> |
| 21 |
# include <stdlib.h> |
| 22 |
# include <string.h> |
| 23 |
-- |
| 24 |
2.31.1 |
| 25 |
|