diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8ed17a4..5dc2dc3 100644 --- a/configure.ac +++ b/configure.ac @@ -468,6 +468,11 @@ AC_CHECK_FUNCS([getpeerucred]) # FreeBSD AC_CHECK_FUNCS([getpeereid]) +AC_CHECK_MEMBER(struct xucred.cr_pid, + [AC_DEFINE(HAVE_XUCRED_CR_PID, 1, + Define if struct xucred contains the cr_pid member.)], + [], [#include <sys/ucred.h> +#include <sys/ucred.h> ]) # |