mirror of https://github.com/getdnsapi/getdns.git
Include sys/stat.h (from config.h) +
+ introduce GETDNS_RETURN_IO_ERROR return code (forgot to mention that in previous commit)
This commit is contained in:
parent
96ed06c6a9
commit
26877d4494
|
@ -9,6 +9,7 @@
|
||||||
the context's LOCALNAMES namespace.
|
the context's LOCALNAMES namespace.
|
||||||
* get which version of OpenSSL was used at build time and at run time
|
* get which version of OpenSSL was used at build time and at run time
|
||||||
when available with getdns_context_get_api_information()
|
when available with getdns_context_get_api_information()
|
||||||
|
* GETDNS_RETURN_IO_ERROR return error code
|
||||||
* Bugfix #359: edns_client_subnet_private should set family
|
* Bugfix #359: edns_client_subnet_private should set family
|
||||||
Thanks Daniel Areiza
|
Thanks Daniel Areiza
|
||||||
|
|
||||||
|
|
|
@ -265,7 +265,7 @@ esac
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_EVENTLOOP=select_eventloop
|
DEFAULT_EVENTLOOP=select_eventloop
|
||||||
AC_CHECK_HEADERS([signal.h sys/poll.h poll.h sys/resource.h sys/types.h],,, [AC_INCLUDES_DEFAULT])
|
AC_CHECK_HEADERS([signal.h sys/poll.h poll.h sys/resource.h sys/types.h sys/stat.h],,, [AC_INCLUDES_DEFAULT])
|
||||||
AC_ARG_ENABLE(poll-eventloop, AC_HELP_STRING([--disable-poll-eventloop], [Disable default eventloop based on poll (default=enabled if available)]))
|
AC_ARG_ENABLE(poll-eventloop, AC_HELP_STRING([--disable-poll-eventloop], [Disable default eventloop based on poll (default=enabled if available)]))
|
||||||
case "$enable_poll_eventloop" in
|
case "$enable_poll_eventloop" in
|
||||||
no)
|
no)
|
||||||
|
@ -1516,6 +1516,10 @@ static inline int _gldns_custom_vsnprintf(char *str, size_t size, const char *fo
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_STAT_H
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_NETINET_IN_H
|
#ifdef HAVE_NETINET_IN_H
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue