mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
rgw: add compat file for name service macros
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
parent
5dc64193cc
commit
81a3ea1bc0
@ -538,6 +538,7 @@ AC_CHECK_FUNC([fallocate],
|
||||
[])
|
||||
|
||||
|
||||
AC_CHECK_HEADERS([arpa/nameser_compat.h])
|
||||
AC_CHECK_HEADERS([sys/prctl.h])
|
||||
AC_CHECK_FUNCS([prctl])
|
||||
AC_CHECK_FUNCS([pipe2])
|
||||
|
@ -3,6 +3,12 @@
|
||||
#include <arpa/nameser.h>
|
||||
#include <resolv.h>
|
||||
|
||||
#include "acconfig.h"
|
||||
|
||||
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
|
||||
#include <arpa/nameser_compat.h>
|
||||
#endif
|
||||
|
||||
#include "rgw_common.h"
|
||||
#include "rgw_resolve.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user