summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-04-06 13:55:00 +0000
committerJim Meyering <jim@meyering.net>2004-04-06 13:55:00 +0000
commitfaa858b57bdc9c78dd665cf001e7d8872340a229 (patch)
tree153f5da84c021192c11a6f55857a66a99b9deb8f /src
parent8ae1cfddb7970ad64b9d9dd3d3c25caf5dbe4fcc (diff)
downloadcoreutils-faa858b57bdc9c78dd665cf001e7d8872340a229.tar.xz
(makedev) [mkdev && !makedev]: Define makedev to mkdev.
For Interix.
Diffstat (limited to 'src')
-rw-r--r--src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 6154843d1..f89c33d46 100644
--- a/src/system.h
+++ b/src/system.h
@@ -92,6 +92,10 @@ you must include <sys/types.h> before including this file
#endif
#undef HAVE_MAJOR
+#if ! defined makedev && defined mkdev
+# define makedev(maj, min) mkdev (maj, min)
+#endif
+
#if HAVE_UTIME_H
# include <utime.h>
#endif