diff options
author | NIIBE Yutaka <[email protected]> | 2017-03-07 05:22:34 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-03-07 05:22:34 +0000 |
commit | bf03925751abb739f2fd9d631694d3dd33decf92 (patch) | |
tree | 6bfc648abdcd35c535afc883e91d37577c318f21 /agent/command-ssh.c | |
parent | agent: Fix get_client_pid for portability. (diff) | |
download | gnupg-bf03925751abb739f2fd9d631694d3dd33decf92.tar.gz gnupg-bf03925751abb739f2fd9d631694d3dd33decf92.zip |
agent: Add include files.
* agent/command-ssh.c: Add sys/socket.h and sys/un.h.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/command-ssh.c')
-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 |