Signed-off-by: Masami HIRATA <msmhrt(a)gmail.com>
---
src/launch-appliance.c | 2 ++
src/launch-unix.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/launch-appliance.c b/src/launch-appliance.c
index a955360..328cd19 100644
--- a/src/launch-appliance.c
+++ b/src/launch-appliance.c
@@ -28,6 +28,8 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
+#include <sys/socket.h>
+#include <sys/un.h>
#include "guestfs.h"
#include "guestfs-internal.h"
diff --git a/src/launch-unix.c b/src/launch-unix.c
index f09ecde..b971cac 100644
--- a/src/launch-unix.c
+++ b/src/launch-unix.c
@@ -22,6 +22,8 @@
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
+#include <sys/socket.h>
+#include <sys/un.h>
#include "guestfs.h"
#include "guestfs-internal.h"
--
1.7.11.1