Displaying 2 results from an estimated 2 matches for "f57910d".
Did you mean:
57910
2015 Nov 04
3
[PATCH] launch: add missing headers on Darwin
...c/launch-libvirt.c
@@ -52,6 +52,7 @@
/* Fixes for Mac OS X */
#if defined __APPLE__ && defined __MACH__
#include <sys/un.h>
+#include <sys/fcntl.h>
#endif
#ifndef SOCK_CLOEXEC
# define SOCK_CLOEXEC O_CLOEXEC
diff --git a/src/launch-unix.c b/src/launch-unix.c
index 5cce9c1..f57910d 100644
--- a/src/launch-unix.c
+++ b/src/launch-unix.c
@@ -25,6 +25,10 @@
#include <string.h>
#include <libintl.h>
+#if defined __APPLE__ && defined __MACH__
+#include <sys/un.h>
+#endif
+
#include "guestfs.h"
#include "guestfs-internal.h"
#inclu...
2015 Nov 04
0
Re: [PATCH] launch: add missing headers on Darwin
...Fixes for Mac OS X */
> #if defined __APPLE__ && defined __MACH__
> #include <sys/un.h>
> +#include <sys/fcntl.h>
> #endif
> #ifndef SOCK_CLOEXEC
> # define SOCK_CLOEXEC O_CLOEXEC
> diff --git a/src/launch-unix.c b/src/launch-unix.c
> index 5cce9c1..f57910d 100644
> --- a/src/launch-unix.c
> +++ b/src/launch-unix.c
> @@ -25,6 +25,10 @@
> #include <string.h>
> #include <libintl.h>
>
> +#if defined __APPLE__ && defined __MACH__
> +#include <sys/un.h>
> +#endif
> +
> #include "guestfs.h...