Commit af70d4db authored by Michal Privoznik's avatar Michal Privoznik

libvirt-php.c: Include stdio.h

I've tried to build libvirt-php on the latest rawhide and saw
this error:

libvirt-php.c: In function ‘zif_libvirt_domain_disk_add’:
libvirt-php.c:5372:9: warning: implicit declaration of function ‘asnprintf’ [-Wimplicit-function-declaration]
     if (asnprintf(&newXml,

Obviously, on my system stdio.h include sneaks in via some header
file. It's not the case on rawhide.
Signed-off-by: 's avatarMichal Privoznik <mprivozn@redhat.com>
parent aa641107
......@@ -25,6 +25,7 @@
#endif
#include "libvirt-php.h"
#include "stdio.h"
#ifndef EXTWIN
// From vncfunc.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment