blob: a166e320359d83c6ddcf1fd90f22351abf2657cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- coreutils/mknod.c.orig 2021-01-01 10:52:27 UTC
+++ coreutils/mknod.c
@@ -36,7 +36,9 @@
//usage: "$ mknod /dev/fd0 b 2 0\n"
//usage: "$ mknod -m 644 /tmp/pipe p\n"
+#ifdef __linux__
#include <sys/sysmacros.h> // For makedev
+#endif
#include "libbb.h"
#include "libcoreutils/coreutils.h"
|