include <poll.h> for struct pollfd include <time.h> for struct timeval Fixes gcc complaints about implicit declaration. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> -- ---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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christoph Egger writes ("[Xen-devel] [PATCH] libxl: add missing includes"):> > 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.
On 02/20/12 19:44, Ian Jackson wrote:> Christoph Egger writes ("[Xen-devel] [PATCH] libxl: add missing includes"): >> >> 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 -- ---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"):> On 02/20/12 19:44, Ian Jackson wrote: > > Christoph Egger writes ("[Xen-devel] [PATCH] libxl: add missing includes"): > >> > >> 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.