diff options
author | Ben Kohler <bkohler@gentoo.org> | 2022-09-22 10:45:17 -0500 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2022-09-27 18:52:10 +0200 |
commit | c90b6c83f02343012de165d3a2adafd68c3ff658 (patch) | |
tree | 0fbfb74f962d7bf3a436b47a734508a17500f32b | |
parent | 0d5d05f2a6a6895aa2b1ffeda34489552468327b (diff) | |
download | connman-c90b6c83f02343012de165d3a2adafd68c3ff658.tar.gz |
gresolv: add missing include to fix clang-16 build
Current compilers gcc-12 and clang-15 warn about an implicit function
declaration in gresolv.c, and this turns into a fatal error in clang-16
and eventually in future gcc.
-rw-r--r-- | gweb/gresolv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gweb/gresolv.c b/gweb/gresolv.c index 954e7cfe..8101d718 100644 --- a/gweb/gresolv.c +++ b/gweb/gresolv.c @@ -36,6 +36,7 @@ #include <arpa/inet.h> #include <arpa/nameser.h> #include <net/if.h> +#include <ctype.h> #include "gresolv.h" |