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

Eric Blake eblake at redhat.com
Tue Jan 31 23:04:42 UTC 2017


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>

-- 
2.9.3




More information about the Libguestfs mailing list