--- augeas-1.14.1/src/augprint.c.orig +++ augeas-1.14.1/src/augprint.c @@ -70,10 +70,13 @@ #include #include #include /* for basename() on FreeBSD and MacOS */ -#include /* for MIN() MAX() */ #include #include "augprint.h" +/* Macros for min/max taken from FreeBSD */ +#define MIN(a,b) (((a)<(b))?(a):(b)) +#define MAX(a,b) (((a)>(b))?(a):(b)) + #define CHECK_OOM(condition, action, arg) \ do { \ if (condition) { \