eclipse-mosquitto / mosquitto

Eclipse Mosquitto - An open source MQTT broker
https://mosquitto.org
Other
9.08k stars 2.4k forks source link

windows c-ares Error constructing source code reference header file #2280

Open 0xdddddddd opened 3 years ago

0xdddddddd commented 3 years ago

error src file : srv_mosq.c


#  include <ares.h>

#  include <arpa/nameser.h>     Error
#  include <stdio.h>
#  include <string.h>
#endif```

windows -> libc-ares\src\lib\ares_nameser.h

Windows does not have the arpa/nameser.h header file
ralight commented 3 years ago

How important is DNS SRV support to you? From my point of view the support is incomplete and unmaintained for years and pretty much nobody has complained. If I wasn't keeping library compatibility I would have probably removed it already.

0xdddddddd commented 3 years ago

How important is DNS SRV support to you? From my point of view the support is incomplete and unmaintained for years and pretty much nobody has complained. If I wasn't keeping library compatibility I would have probably removed it already.

Okay, I got it bro. It is not important, but also can not live without.