[Libguestfs] [nbdkit PATCH] tls: Fix build on RHEL 5

Richard W.M. Jones rjones at redhat.com
Wed Feb 1 11:04:23 UTC 2017


On Tue, Jan 31, 2017 at 05:04:42PM -0600, Eric Blake wrote:
> Don't assume that errno will be implicitly available.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  src/tls.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/tls.c b/src/tls.c
> index 5d380e3..0e9ea11 100644
> --- a/src/tls.c
> +++ b/src/tls.c
> @@ -38,6 +38,7 @@
>  #include <string.h>
>  #include <unistd.h>
>  #include <assert.h>
> +#include <errno.h>
> 
>  #include <pthread.h>
> 

Thanks - pushed.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list