Merge pull request #822 from ceph/port/rgw

portability patches in rgw 

Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-11-06 07:50:20 -08:00
commit 64b5d7060d
3 changed files with 8 additions and 1 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

@ -65,7 +65,7 @@
using namespace std;
static sighandler_t sighandler_alrm;
static sig_t sighandler_alrm;
class RGWProcess;

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"