12345678910111213141516171819202122232425262728293031 |
- #include "platform.h"
- #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
- || defined(__APPLE__)
- # include <sys/types.h>
- #else
- # include <features.h>
- # include <sys/sysmacros.h>
- #endif
- #ifdef __GLIBC__
- unsigned long long FAST_FUNC bb_makedev(unsigned major, unsigned minor);
- unsigned long long FAST_FUNC bb_makedev(unsigned major, unsigned minor)
- {
- return makedev(major, minor);
- }
- #endif
|