[Libguestfs] [PATCH 1/3] nbdkit: fix build of the SSH plugin on FreeBSD

asomers at gmail.com asomers at gmail.com
Fri Jun 19 01:58:08 UTC 2020


From: Alan Somers <asomers at gmail.com>

There was a missing #include.  It only worked on Linux due to header
pollution.
---
 plugins/ssh/ssh.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/ssh/ssh.c b/plugins/ssh/ssh.c
index ea199a93..a4007c40 100644
--- a/plugins/ssh/ssh.c
+++ b/plugins/ssh/ssh.c
@@ -30,6 +30,8 @@
  * SUCH DAMAGE.
  */
 
+#include <sys/stat.h>
+
 #include <config.h>
 
 #include <stdio.h>
-- 
2.26.2




More information about the Libguestfs mailing list