* [PATCH for-xen-4.5] libxl: include sys/ioctl.h
@ 2014-10-10 14:34 Roger Pau Monne
2014-10-10 15:04 ` Ian Jackson
0 siblings, 1 reply; 3+ messages in thread
From: Roger Pau Monne @ 2014-10-10 14:34 UTC (permalink / raw)
To: xen-devel
Cc: Roger Pau Monne, Wei Liu, Ian Campbell, Wen Congyang,
Ian Jackson, Yang Hongyang, Lai Jiangshan
This is a requirement for the code in libxl_remus_disk_drbd.c that uses the
ioctl syscall. Fixes the following error when building on FreeBSD:
libxl_remus_disk_drbd.c: In function 'drbd_postsuspend':
libxl_remus_disk_drbd.c:197:9: error: implicit declaration of function 'ioctl' [-Werror=implicit-function-declaration]
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Cc: Yang Hongyang <yanghy@cn.fujitsu.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
---
tools/libxl/libxl_internal.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h
index 83bef59..7ed601e 100644
--- a/tools/libxl/libxl_internal.h
+++ b/tools/libxl/libxl_internal.h
@@ -44,6 +44,7 @@
#include <sys/wait.h>
#include <sys/socket.h>
#include <sys/file.h>
+#include <sys/ioctl.h>
#include <xenstore.h>
#include <xenctrl.h>
--
1.9.3 (Apple Git-50)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH for-xen-4.5] libxl: include sys/ioctl.h
2014-10-10 14:34 [PATCH for-xen-4.5] libxl: include sys/ioctl.h Roger Pau Monne
@ 2014-10-10 15:04 ` Ian Jackson
2014-10-14 10:02 ` Ian Campbell
0 siblings, 1 reply; 3+ messages in thread
From: Ian Jackson @ 2014-10-10 15:04 UTC (permalink / raw)
To: Roger Pau Monne
Cc: Wei Liu, Lai Jiangshan, Wen Congyang, xen-devel, Yang Hongyang,
Ian Campbell
Roger Pau Monne writes ("[PATCH for-xen-4.5] libxl: include sys/ioctl.h"):
> This is a requirement for the code in libxl_remus_disk_drbd.c that uses the
> ioctl syscall. Fixes the following error when building on FreeBSD:
>
> libxl_remus_disk_drbd.c: In function 'drbd_postsuspend':
> libxl_remus_disk_drbd.c:197:9: error: implicit declaration of function 'ioctl' [-Werror=implicit-function-declaration]
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH for-xen-4.5] libxl: include sys/ioctl.h
2014-10-10 15:04 ` Ian Jackson
@ 2014-10-14 10:02 ` Ian Campbell
0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2014-10-14 10:02 UTC (permalink / raw)
To: Ian Jackson
Cc: Wei Liu, Lai Jiangshan, Wen Congyang, xen-devel, Yang Hongyang,
Roger Pau Monne
On Fri, 2014-10-10 at 16:04 +0100, Ian Jackson wrote:
> Roger Pau Monne writes ("[PATCH for-xen-4.5] libxl: include sys/ioctl.h"):
> > This is a requirement for the code in libxl_remus_disk_drbd.c that uses the
> > ioctl syscall. Fixes the following error when building on FreeBSD:
> >
> > libxl_remus_disk_drbd.c: In function 'drbd_postsuspend':
> > libxl_remus_disk_drbd.c:197:9: error: implicit declaration of function 'ioctl' [-Werror=implicit-function-declaration]
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Likewise + applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-14 10:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-10 14:34 [PATCH for-xen-4.5] libxl: include sys/ioctl.h Roger Pau Monne
2014-10-10 15:04 ` Ian Jackson
2014-10-14 10:02 ` Ian Campbell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.