]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
libxl: add missing includes
authorChristoph Egger <Christoph.Egger@amd.com>
Tue, 21 Feb 2012 16:44:15 +0000 (16:44 +0000)
committerChristoph Egger <Christoph.Egger@amd.com>
Tue, 21 Feb 2012 16:44:15 +0000 (16:44 +0000)
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@amd.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_event.h

index f88911500d4408f8344371fdac52c4e8acf5dcaa..ea553f61e62d86df87b22ae8aee1834cfaf1f6d3 100644 (file)
@@ -17,6 +17,8 @@
 #define LIBXL_EVENT_H
 
 #include <libxl.h>
+#include <poll.h>
+#include <sys/time.h>
 
 /*======================================================================*/