mirror of
git://git.gnupg.org/gnupg.git
synced 2024-05-30 22:08:02 +02: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
|
#ifdef HAVE_SYS_UCRED_H
|
||||||
#include <sys/ucred.h>
|
#include <sys/ucred.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_UCRED_H
|
||||||
|
#include <ucred.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "agent.h"
|
#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 \
|
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 \
|
pty.h utmp.h pwd.h inttypes.h signal.h sys/select.h \
|
||||||
stdint.h signal.h util.h libutil.h termios.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
|
AC_HEADER_TIME
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user