diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bfstd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bfstd.c b/src/bfstd.c index b29fb7b..b58d69e 100644 --- a/src/bfstd.c +++ b/src/bfstd.c @@ -482,7 +482,9 @@ int rlim_cmp(rlim_t a, rlim_t b) { } dev_t xmakedev(int ma, int mi) { -#ifdef makedev +#if __QNX__ + return makedev(0, ma, mi); +#elif defined(makedev) return makedev(ma, mi); #else return (ma << 8) | mi; |