this is a nonstandard junk header anyway, so just do what apps expect..
@@ -10,6 +10,11 @@
#undef MAXPATHLEN
#define MAXPATHLEN 4096
+#undef MIN
+#undef MAX
+#define MIN(a,b) (((a)<(b))?(a):(b))
+#define MAX(a,b) (((a)>(b))?(a):(b))
+
#include <sys/resource.h>
#include <endian.h>
#include <limits.h>