[libvirt] [PATCH] util: add stdlib.h include for abort() prototype

Daniel P. Berrangé posted 1 patch 4 years, 6 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20191018144604.32175-1-berrange@redhat.com
src/util/glibcompat.c | 2 ++
1 file changed, 2 insertions(+)
[libvirt] [PATCH] util: add stdlib.h include for abort() prototype
Posted by Daniel P. Berrangé 4 years, 6 months ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---

Pushed as a build fix for Mingw

 src/util/glibcompat.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/glibcompat.c b/src/util/glibcompat.c
index 25dedf0ed5..3f830840cf 100644
--- a/src/util/glibcompat.c
+++ b/src/util/glibcompat.c
@@ -18,6 +18,8 @@
 
 #include <config.h>
 
+#include <stdlib.h>
+
 #include "glibcompat.h"
 
 #undef g_strdup_printf
-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list