diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2017-03-07 06:22:34 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2017-03-07 06:22:34 +0100 |
commit | bf03925751abb739f2fd9d631694d3dd33decf92 (patch) | |
tree | 6bfc648abdcd35c535afc883e91d37577c318f21 /agent/command-ssh.c | |
parent | agent: Fix get_client_pid for portability. (diff) | |
download | gnupg2-bf03925751abb739f2fd9d631694d3dd33decf92.tar.xz gnupg2-bf03925751abb739f2fd9d631694d3dd33decf92.zip |
agent: Add include files.
* agent/command-ssh.c: Add sys/socket.h and sys/un.h.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to '')
-rw-r--r-- | agent/command-ssh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c index c7afe3bc9..382f9e635 100644 --- a/agent/command-ssh.c +++ b/agent/command-ssh.c @@ -40,6 +40,10 @@ #include <sys/types.h> #include <sys/stat.h> #include <assert.h> +#ifndef HAVE_W32_SYSTEM +#include <sys/socket.h> +#include <sys/un.h> +#endif /*!HAVE_W32_SYSTEM*/ #ifdef HAVE_UCRED_H #include <ucred.h> #endif |