krb5 commit: Include arpa/inet.h in sim_client.c
ghudson at mit.edu
ghudson at mit.edu
Wed Jul 15 18:24:21 EDT 2026
https://github.com/krb5/krb5/commit/bd837781fda5fe47efcec2049eea2736d22edf01
commit bd837781fda5fe47efcec2049eea2736d22edf01
Author: George Chow <george at overcoil.com>
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"
More information about the cvs-krb5
mailing list