diff options
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/mknod.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/coreutils/mknod.c b/coreutils/mknod.c index eee0ac71d..b10fe4fc3 100644 --- a/coreutils/mknod.c +++ b/coreutils/mknod.c | |||
| @@ -36,7 +36,9 @@ | |||
| 36 | //usage: "$ mknod /dev/fd0 b 2 0\n" | 36 | //usage: "$ mknod /dev/fd0 b 2 0\n" |
| 37 | //usage: "$ mknod -m 644 /tmp/pipe p\n" | 37 | //usage: "$ mknod -m 644 /tmp/pipe p\n" |
| 38 | 38 | ||
| 39 | #include <sys/sysmacros.h> // For makedev | 39 | #ifdef __linux__ |
| 40 | # include <sys/sysmacros.h> // For makedev | ||
| 41 | #endif | ||
| 40 | 42 | ||
| 41 | #include "libbb.h" | 43 | #include "libbb.h" |
| 42 | #include "libcoreutils/coreutils.h" | 44 | #include "libcoreutils/coreutils.h" |
