From ecf4429bd359f7ef68f28a2f8cf0fe9fb9c649ee Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 12 Nov 2013 18:21:48 +0000 Subject: Add decl of MIN macro Signed-off-by: Daniel P. Berrange --- libvirt-utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libvirt-utils.h b/libvirt-utils.h index bec7346..aed64e6 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__ */ -- cgit