]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Fix build without devmapper
authorJiri Denemark <jdenemar@redhat.com>
Thu, 16 May 2013 09:49:12 +0000 (11:49 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 16 May 2013 10:15:38 +0000 (12:15 +0200)
stdlib.h header file needed for getenv was only transitively included
through libdevmapper.h.

src/util/virutil.c

index ab3c82f8239ca17fab516f0c364d529c12886696..7f4ecd634d5023c3b563f9e68ca8157c8682fe6c 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <config.h>
 
+#include <stdlib.h>
 #include <dirent.h>
 #include <stdio.h>
 #include <stdarg.h>