From 988b5cf0b293c3b2a793445f84951c4b6a6d5aaf Mon Sep 17 00:00:00 2001 From: CJ Lee Date: Wed, 21 Oct 2020 12:00:37 +0900 Subject: [PATCH] Add missing header for QNX header is required to compile this source. Without it, WARNING is generated. mosquitto/lib/socks_mosq.c: In function 'socks5__send': mosquitto/lib/socks_mosq.c:156:22: warning: implicit declaration of function 'inet_pton' [-Wimplicit-function-declaration] ipv4_pton_result = inet_pton(AF_INET, mosq->host, &addr_ipv4); Signed-off-by: ChangJoon Lee --- lib/socks_mosq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/socks_mosq.c b/lib/socks_mosq.c index ddc52d01..cb201708 100644 --- a/lib/socks_mosq.c +++ b/lib/socks_mosq.c @@ -23,6 +23,7 @@ Contributors: # include #elif __QNX__ # include +# include # include #else # include