[libvirt] [dbus PATCH] tests: include stdlib.h

Ján Tomko jtomko at redhat.com
Wed Jun 13 13:50:41 UTC 2018


On some systems, EXIT_SUCCESS and EXIT_FAILURE require inclusion
of stdlib.h

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
Pushed as a build breaker fix.

 tests/test_util.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test_util.c b/tests/test_util.c
index 9611192..b7fafb6 100644
--- a/tests/test_util.c
+++ b/tests/test_util.c
@@ -1,5 +1,7 @@
 #include "util.h"
 
+#include <stdlib.h>
+
 static gint
 virtTestEncodeStr(const gchar *input,
                   const gchar *expected)
-- 
2.16.1




More information about the libvir-list mailing list