From: "Daniel P. Berrange" <berrange(a)redhat.com>
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
libvirt-utils.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libvirt-utils.h b/libvirt-utils.h
index 26d4059..65b9b3b 100644
--- a/libvirt-utils.h
+++ b/libvirt-utils.h
@@ -24,4 +24,8 @@
#define STREQ(a,b) (strcmp(a,b) == 0)
+#ifndef MIN
+# define MIN(a,b) (((a) < (b)) ? (a) : (b))
+#endif
+
#endif /* __LIBVIRT_UTILS_H__ */
--
1.8.3.1