--- minidlna-1.2.1/utils.h.1 2020-01-25 10:25:52.138607558 +0000 +++ minidlna-1.2.1/utils.h 2020-01-25 10:26:28.249514614 +0000 @@ -30,6 +30,14 @@ #include "minidlnatypes.h" +#ifndef MIN +#define MIN(a,b) (((a)<(b))?(a):(b)) +#endif + +#ifndef MAX +#define MAX(a,b) (((a)>(b))?(a):(b)) +#endif + /* String functions */ /* We really want this one inlined, since it has a major performance impact */ static inline int