]> Zhao Yanbai Git Server - minix.git/commitdiff
Compile fix for major
authorBen Gras <ben@minix3.org>
Fri, 27 Jan 2006 14:31:27 +0000 (14:31 +0000)
committerBen Gras <ben@minix3.org>
Fri, 27 Jan 2006 14:31:27 +0000 (14:31 +0000)
commands/de/de_stdout.c

index 350f5c489f8062ad80c6b7e245624d64f267db57..c95a1c2bc8d87ad0ae06cf0e51a4fc03f2e8b1fe 100755 (executable)
 
 #include "de.h"
 
+#ifndef major
 #define major(x) ( (x>>8) & 0377)
 #define minor(x) (x & 0377)
+#endif
 
 /****************************************************************/
 /*             Code for handling termcap                       */