--- pnm/pnmtotiffcmyk.c.orig	Wed Apr 26 13:25:15 2000
+++ pnm/pnmtotiffcmyk.c	Mon May  8 00:00:00 2000
@@ -71,7 +71,9 @@
 #define VERSION 1.01
 
 /* beware - these evaluate more than once */
+#undef MAX
 #define MAX(x, y) ( ( x ) > ( y ) ? ( x ) : ( y ) )
+#undef MIN
 #define MIN(x, y) ( ( x ) < ( y ) ? ( x ) : ( y ) )
 
 /* only support 8 bit values */
