[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 8/9] vtpm: fix vtpmblk.c compilation warning
From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx> Using gcc5 we get the following warning: vtpmblk.c:322:7: warning: implicit declaration of function âprintfâ [-Wimplicit-function-declaration] vtpmblk.c:322:7: warning: incompatible implicit declaration of built-in function âprintfâ Fix this by including stdio.h Cc: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxx> --- stubdom/vtpm/vtpmblk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stubdom/vtpm/vtpmblk.c b/stubdom/vtpm/vtpmblk.c index fe529ab5acbc..de8fbfa7f949 100644 --- a/stubdom/vtpm/vtpmblk.c +++ b/stubdom/vtpm/vtpmblk.c @@ -18,6 +18,7 @@ #include "polarssl/sha1.h" #include <blkfront.h> #include <unistd.h> +#include <stdio.h> #include <errno.h> #include <fcntl.h> -- 2.6.2 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |