From 096b1553b3c0974a5cc2821d60ce11112fc92ae0 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Mon, 9 Sep 2013 09:55:27 +0100 Subject: Add decl of MIN macro Signed-off-by: Daniel P. Berrange --- libvirt-utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libvirt-utils.h') 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__ */ -- cgit