From: Christoph Egger Subject: [PATCH] xenpm: build fix Date: Wed, 14 Jan 2009 14:33:53 +0100 Message-ID: <200901141433.54209.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_CnebJJU5cDOMWl9" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_CnebJJU5cDOMWl9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, attached patch makes xenpm build again. build error I get is this: xenpm.c: In function 'signal_int_handler': xenpm.c:272: error: storage size of 'tv' isn't known cc1: warnings being treated as errors xenpm.c:275: warning: implicit declaration of function 'gettimeofday' xenpm.c:272: warning: unused variable 'tv' xenpm.c: In function 'start_gather_func': xenpm.c:354: error: storage size of 'tv' isn't known xenpm.c:354: warning: unused variable 'tv' Signed-off-by: Christoph Egger ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_CnebJJU5cDOMWl9 Content-Type: text/x-diff; charset="us-ascii"; name="xenpm.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xenpm.diff" diff -r 77476eeb8c42 tools/misc/xenpm.c --- a/tools/misc/xenpm.c Wed Jan 14 11:39:01 2009 +0000 +++ b/tools/misc/xenpm.c Wed Jan 14 14:27:56 2009 +0100 @@ -29,6 +29,7 @@ #include #include +#include #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) --Boundary-00=_CnebJJU5cDOMWl9 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_CnebJJU5cDOMWl9--