libxl: add missing includes
PATCH 1/1 libxl: add missing includes
include <poll.h> for struct pollfd
include <time.h> for struct timeval
Fixes gcc complaints about implicit declaration.
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
tools/libxl/libxl_event.h +2 -0
@@ -17,6 +17,8 @@#define LIBXL_EVENT_H #include <libxl.h> +#include <poll.h> +#include <time.h> /*======================================================================*/
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Christoph Egger writes ("[Xen-devel] [PATCH] libxl: add missing includes"):
Quoted 4 lines
include <
poll.h> for struct pollfd
include <time.h> for struct timeval
Fixes gcc complaints about implicit declaration.
According to SuS, it should be <sys/time.h>.
Ian.
Quoted 7 lines · Ian Jackson
Christoph Egger writes ("[Xen-devel] [PATCH] libxl: add missing includes"):
Quoted 4 lines
include<poll.h> for struct pollfd
include<time.h> for struct timeval
Fixes gcc complaints about implicit declaration.According to SuS, it should be<sys/time.h>.
Yes, sorry. Should I resend?
Christoph
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
Christoph Egger writes ("Re: [Xen-devel] [PATCH] libxl: add missing includes"):
Quoted 10 lines · Ian Jackson
Quoted 7 lines
Christoph Egger writes ("[Xen-devel] [PATCH] libxl: add missing includes"):
Quoted 4 lines
include<poll.h> for struct pollfd
include<time.h> for struct timeval
Fixes gcc complaints about implicit declaration.According to SuS, it should be<sys/time.h>.
Yes, sorry. Should I resend?
I have fixed it up and committed it.
Thanks,
Ian.