@@ -18,7 +18,7 @@ dnl reserved.
1818dnl Copyright (c) 2009-2011 Oak Ridge National Labs. All rights reserved.
1919dnl Copyright (c) 2011-2013 NVIDIA Corporation. All rights reserved.
2020dnl Copyright (c) 2013-2015 Intel, Inc. All rights reserved
21- dnl Copyright (c) 2015 Research Organization for Information Science
21+ dnl Copyright (c) 2015-2016 Research Organization for Information Science
2222dnl and Technology (RIST). All rights reserved.
2323dnl Copyright (c) 2016 Mellanox Technologies, Inc.
2424dnl All rights reserved.
@@ -318,7 +318,8 @@ AC_DEFUN([PMIX_SETUP_CORE],[
318318 sys/wait.h syslog.h \
319319 time.h unistd.h \
320320 crt_externs.h signal.h \
321- ioLib.h sockLib.h hostLib.h limits.h])
321+ ioLib.h sockLib.h hostLib.h limits.h \
322+ ucred.h])
322323
323324 # Note that sometimes we have <stdbool.h>, but it doesn't work (e.g.,
324325 # have both Portland and GNU installed; using pgcc will find GNU's
@@ -495,7 +496,7 @@ AC_DEFUN([PMIX_SETUP_CORE],[
495496 # Darwin doesn't need -lm, as it's a symlink to libSystem.dylib
496497 PMIX_SEARCH_LIBS_CORE([ceil], [m])
497498
498- AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf strsignal socketpair strncpy_s usleep getpeereid])
499+ AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf strsignal socketpair strncpy_s usleep getpeereid getpeerucred ])
499500
500501 # On some hosts, htonl is a define, so the AC_CHECK_FUNC will get
501502 # confused. On others, it's in the standard library, but stubbed with
0 commit comments