--- src/appl/utils/catior/catior.cc.orig Mon Nov 7 22:38:04 2005 +++ src/appl/utils/catior/catior.cc Mon Nov 7 22:38:55 2005 @@ -42,6 +42,12 @@ # include #endif +#ifdef minor + // Digital Unix 3.2, and may be others as well, defines minor() as + // a macro in its sys/types.h. Get rid of it! +#undef minor +#endif + #ifndef Swap16 #define Swap16(s) ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff)) #else --- src/appl/utils/convertior/convertior.cc.orig Mon Nov 7 22:39:11 2005 +++ src/appl/utils/convertior/convertior.cc Mon Nov 7 22:39:28 2005 @@ -40,6 +40,12 @@ # include #endif +#ifdef minor + // Digital Unix 3.2, and may be others as well, defines minor() as + // a macro in its sys/types.h. Get rid of it! +#undef minor +#endif + #ifndef Swap16 #define Swap16(s) ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff)) #else