]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Include arpa/inet.h in sim_client.c
authorGeorge Chow <george@overcoil.com>
Thu, 18 Jun 2026 18:40:08 +0000 (11:40 -0700)
committerGreg Hudson <ghudson@mit.edu>
Wed, 15 Jul 2026 20:39:50 +0000 (16:39 -0400)
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

index 6f4283375652eea3cda455871fb7357f84cfefd6..a1d48caa9f9f8fc43b3bec85606cea65c752ec27 100644 (file)
@@ -39,6 +39,7 @@
 #include <string.h>
 #include <errno.h>
 #include <netdb.h>
+#include <arpa/inet.h>
 #include <unistd.h>
 
 #include "simple.h"