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

[Xen-changelog] [xen-unstable] libxl: add missing includes



# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1329842655 0
# Node ID fd0a2cff16edafbd27f821dcc4464a4e6d6404fd
# Parent  0900b1c905f1d038aad58a2732fe2bad682149a3
libxl: add missing includes

include <poll.h> for struct pollfd
include <sys/time.h> for struct timeval

Fixes gcc complaints about implicit declaration.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 0900b1c905f1 -r fd0a2cff16ed tools/libxl/libxl_event.h
--- a/tools/libxl/libxl_event.h Mon Feb 20 18:58:07 2012 +0000
+++ b/tools/libxl/libxl_event.h Tue Feb 21 16:44:15 2012 +0000
@@ -17,6 +17,8 @@
 #define LIBXL_EVENT_H
 
 #include <libxl.h>
+#include <poll.h>
+#include <sys/time.h>
 
 /*======================================================================*/
 

_______________________________________________
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®.