krb5 commit: Include arpa/inet.h in sim_client.c
[email protected] Wed, 15 Jul 2026 18:24:21 -0400 (EDT)
| Newsgroups | gmane.comp.encryption.kerberos.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/krb5/krb5/commit/bd837781fda5fe47efcec2049eea2736d22edf01 commit bd837781fda5fe47efcec2049eea2736d22edf01 Author: George Chow <[email protected]> Date: Thu Jun 18 11:40:08 2026 -0700 Include arpa/inet.h in sim_client.c sim_client.c calls inet_ntoa() but does not include <arpa/inet.h>. On strict POSIX systems this causes an implicit-declaration warning or error. Add the missing include. src/appl/simple/client/sim_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/appl/simple/client/sim_client.c b/src/appl/simple/client/sim_client.c index 6f4283375..a1d48caa9 100644 --- a/src/appl/simple/client/sim_client.c +++ b/src/appl/simple/client/sim_client.c @@ -39,6 +39,7 @@ #include <string.h> #include <errno.h> #include <netdb.h> +#include <arpa/inet.h> #include <unistd.h> #include "simple.h"