[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] libxl: include sys/ioctl.h



commit df8589760ec9a86276da241a5c94d341aa1ddfcb
Author:     Roger Pau Monne <roger.pau@xxxxxxxxxx>
AuthorDate: Fri Oct 10 16:34:37 2014 +0200
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Tue Oct 14 10:27:20 2014 +0100

    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]

    Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Cc: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
    Cc: Wen Congyang <wency@xxxxxxxxxxxxxx>
    Cc: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
    Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 tools/libxl/libxl_internal.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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>
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.