agent: Add include files.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 7 Mar 2017 05:22:34 +0000 (14:22 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 7 Mar 2017 05:22:34 +0000 (14:22 +0900)
* agent/command-ssh.c: Add sys/socket.h and sys/un.h.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/command-ssh.c

index c7afe3b..382f9e6 100644 (file)
 #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