[Pkg-gnupg-commit] [gnupg2] 29/124: agent: Add include files.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 5 15:55:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit bf03925751abb739f2fd9d631694d3dd33decf92
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Tue Mar 7 14:22:34 2017 +0900

    agent: Add include files.
    
    * agent/command-ssh.c: Add sys/socket.h and sys/un.h.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 agent/command-ssh.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index c7afe3b..382f9e6 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list