Displaying 1 result from an estimated 1 matches for "_sys_sysmacros_h".
2012 May 24
1
[klibc:master] sys/sysmacros.h: match glibc and define non-__ macros
...2a 100644
--- a/usr/include/sys/sysmacros.h
+++ b/usr/include/sys/sysmacros.h
@@ -31,4 +31,8 @@ static __inline__ dev_t makedev(int __ma, int __mi)
return __makedev(__ma, __mi);
}
+#define major(d) __major(d)
+#define minor(d) __minor(d)
+#define makedev(ma,mi) __makedev(ma,mi)
+
#endif /* _SYS_SYSMACROS_H */