diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2018-01-26 02:08:29 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2018-01-26 02:13:34 +0100 |
commit | 08e686a6a6d5bcb5410228b388745d09686b260c (patch) | |
tree | b91514b92d8e6106e9e5d6b4348ca4280de2c121 /configure.ac | |
parent | doc: Note --quick-gen-key as an alias for --quick-generate-key (diff) | |
download | gnupg2-08e686a6a6d5bcb5410228b388745d09686b260c.tar.xz gnupg2-08e686a6a6d5bcb5410228b388745d09686b260c.zip |
agent: More fix for get_client_pid for portability.
* configure.ac: Check sys/ucred.h instead of ucred.h.
* agent/command-ssh.c: Include sys/ucred.h.
--
It's *BSD and macOS thing.
Fixes-commit: f7f806afa5083617f4aba02fc3b285b06a7d73d4
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c3fce317d..424ce7be1 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \ - ucred.h sys/sysmacros.h sys/mkdev.h]) + sys/ucred.h sys/sysmacros.h sys/mkdev.h]) AC_HEADER_TIME |