[libvirt] [PATCH] command: Fix compilation on FreeBSD
Eric Blake
eblake at redhat.com
Fri May 13 12:08:37 UTC 2011
On 05/12/2011 11:53 PM, Matthias Bolte wrote:
> kill, SIGTERM and SIGKILL require additional headers.
> ---
> src/util/command.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/src/util/command.c b/src/util/command.c
> index b488d55..b2a873b 100644
> --- a/src/util/command.c
> +++ b/src/util/command.c
> @@ -22,9 +22,11 @@
> #include <config.h>
>
> #include <poll.h>
> +#include <signal.h>
Definitely.
> #include <stdarg.h>
> #include <stdlib.h>
> #include <sys/stat.h>
> +#include <sys/types.h>
Spurious. Gnulib already takes care of this (if it doesn't, and you get
a compile error due to not including <sys/types.h>, then please post
that to the gnulib list, and I'll fix it upstream).
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110513/4ba30ca1/attachment-0001.sig>
More information about the libvir-list
mailing list