rgw: add compat file for name service macros

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
Noah Watkins 2013-08-04 12:09:19 -07:00
parent 5dc64193cc
commit 81a3ea1bc0
2 changed files with 7 additions and 0 deletions

View File

@ -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])

View File

@ -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"