[dbus PATCH] tests: include stdlib.h

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

 



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

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
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

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux