From: Ben Gras Date: Fri, 27 Jan 2006 14:31:27 +0000 (+0000) Subject: Compile fix for major X-Git-Tag: v3.1.2a~401 X-Git-Url: http://zhaoyanbai.com/repos/%7B%24global.css%7D?a=commitdiff_plain;h=ae5ba10b9e50cd763749c65c262162d49e57501b;p=minix.git Compile fix for major --- diff --git a/commands/de/de_stdout.c b/commands/de/de_stdout.c index 350f5c489..c95a1c2bc 100755 --- a/commands/de/de_stdout.c +++ b/commands/de/de_stdout.c @@ -32,8 +32,10 @@ #include "de.h" +#ifndef major #define major(x) ( (x>>8) & 0377) #define minor(x) (x & 0377) +#endif /****************************************************************/ /* Code for handling termcap */