Add missing header for QNX
<arpa/inet.h> 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 <changjoon.lee@lge.com>pull/1811/head
parent
3a13205e5e
commit
24df1638c4
Loading…
Reference in New Issue