[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] util: Fix build without devmapper



stdlib.h header file needed for getenv was only transitively included
through libdevmapper.h.
---

Pushed as a trivial build-breaker.

 src/util/virutil.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/virutil.c b/src/util/virutil.c
index ab3c82f..7f4ecd6 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -26,6 +26,7 @@
 
 #include <config.h>
 
+#include <stdlib.h>
 #include <dirent.h>
 #include <stdio.h>
 #include <stdarg.h>
-- 
1.8.2.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]