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

asomers@gmail.com
Fri, 19 Jun 2020 01:58:08 -0000

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