mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
agent: Fix last commit.
* configure.ac: Check ucred.h as well as sys/ucred.h. * agent/command-ssh.c: Add inclusion of ucred.h. -- It was T2981, adding ucred.h for Solaris. We also need sys/ucred.h for FreeBSD and macOS. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
08e686a6a6
commit
d7207b39b7
@ -47,6 +47,9 @@
|
||||
#ifdef HAVE_SYS_UCRED_H
|
||||
#include <sys/ucred.h>
|
||||
#endif
|
||||
#ifdef HAVE_UCRED_H
|
||||
#include <ucred.h>
|
||||
#endif
|
||||
|
||||
#include "agent.h"
|
||||
|
||||
|
@ -1278,7 +1278,7 @@ AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \
|
||||
pty.h utmp.h pwd.h inttypes.h signal.h sys/select.h \
|
||||
stdint.h signal.h util.h libutil.h termios.h \
|
||||
sys/ucred.h sys/sysmacros.h sys/mkdev.h])
|
||||
ucred.h sys/ucred.h sys/sysmacros.h sys/mkdev.h])
|
||||
|
||||
AC_HEADER_TIME
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user