mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Add getpeerid compat.
This commit is contained in:
11
configure.ac
11
configure.ac
@ -160,6 +160,7 @@ AC_REPLACE_FUNCS([ \
|
||||
freezero \
|
||||
getdtablecount \
|
||||
getdtablesize \
|
||||
getpeereid \
|
||||
getline \
|
||||
getprogname \
|
||||
memmem \
|
||||
@ -169,7 +170,7 @@ AC_REPLACE_FUNCS([ \
|
||||
strlcat \
|
||||
strlcpy \
|
||||
strndup \
|
||||
strsep \
|
||||
strsep
|
||||
])
|
||||
AC_FUNC_STRNLEN
|
||||
|
||||
@ -684,6 +685,14 @@ AC_CHECK_DECL(
|
||||
[#include <sys/prctl.h>]
|
||||
)
|
||||
|
||||
# Look for setsockopt(SO_PEERCRED).
|
||||
AC_CHECK_DECL(
|
||||
SO_PEERCRED,
|
||||
AC_DEFINE(HAVE_SO_PEERCRED),
|
||||
,
|
||||
[#include <sys/socket.h>]
|
||||
)
|
||||
|
||||
# Look for fcntl(F_CLOSEM).
|
||||
AC_CHECK_DECL(
|
||||
F_CLOSEM,
|
||||
|
Reference in New Issue
Block a user