зеркало из https://github.com/mozilla/gecko-dev.git
Bug 810716 - Detect res_ninit() on DragonFly and FreeBSD. r=ted
This commit is contained in:
Родитель
ed0a7770ab
Коммит
4d640a0d2f
|
@ -3105,6 +3105,9 @@ AC_CACHE_CHECK(
|
|||
#ifdef linux
|
||||
#define _BSD_SOURCE 1
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/nameser.h>
|
||||
#include <resolv.h>
|
||||
],
|
||||
[int foo = res_ninit(&_res);],
|
||||
|
|
|
@ -40,6 +40,9 @@ typedef KLStatus (*KLCacheHasValidTickets_type)(
|
|||
#endif
|
||||
|
||||
#if defined(HAVE_RES_NINIT)
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/nameser.h>
|
||||
#include <resolv.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2554,6 +2554,9 @@ AC_CACHE_CHECK(
|
|||
#ifdef linux
|
||||
#define _BSD_SOURCE 1
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/nameser.h>
|
||||
#include <resolv.h>
|
||||
],
|
||||
[int foo = res_ninit(&_res);],
|
||||
|
|
Загрузка…
Ссылка в новой задаче