summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-13 10:21:08 +0000
committerJim Meyering <jim@meyering.net>2001-05-13 10:21:08 +0000
commit271a090daa54e1631e4da23b18c48e2ce088ae52 (patch)
tree0ec164ceff6e6790e4d6ebebe56c56789290030a
parent9426be56f56b43c42603a1e6dddc14f0c25d9d0b (diff)
downloadcoreutils-271a090daa54e1631e4da23b18c48e2ce088ae52.tar.xz
(NODEV): New macro, if not already defined.
-rw-r--r--src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 582fd7c51..95b97e38b 100644
--- a/src/system.h
+++ b/src/system.h
@@ -85,6 +85,10 @@
#endif
#undef HAVE_MAJOR
+#ifndef NODEV
+# define NODEV ((dev_t) -1)
+#endif
+
#if HAVE_UTIME_H
# include <utime.h>
#endif