aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_event.h
diff options
context:
space:
mode:
authorChristoph Egger <Christoph.Egger@amd.com>2012-02-21 16:44:15 +0000
committerChristoph Egger <Christoph.Egger@amd.com>2012-02-21 16:44:15 +0000
commit057d014a288437fef4d58379f1aabcc59a99ea57 (patch)
treedc2d7e7f069dae275f647e454af88c071cfb7d03 /tools/libxl/libxl_event.h
parent6638670a188e5be5676c54e9fe5831edcdb5c4a7 (diff)
downloadxen-057d014a288437fef4d58379f1aabcc59a99ea57.tar.gz
xen-057d014a288437fef4d58379f1aabcc59a99ea57.tar.bz2
xen-057d014a288437fef4d58379f1aabcc59a99ea57.zip
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@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>
Diffstat (limited to 'tools/libxl/libxl_event.h')
-rw-r--r--tools/libxl/libxl_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/libxl_event.h b/tools/libxl/libxl_event.h
index f88911500d..ea553f61e6 100644
--- a/tools/libxl/libxl_event.h
+++ b/tools/libxl/libxl_event.h
@@ -17,6 +17,8 @@
#define LIBXL_EVENT_H
#include <libxl.h>
+#include <poll.h>
+#include <sys/time.h>
/*======================================================================*/