summaryrefslogtreecommitdiff
path: root/lib/lchown.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-16 23:23:05 +0000
committerJim Meyering <jim@meyering.net>1998-07-16 23:23:05 +0000
commitb294d530d4c561f966837eff4cacda785bac019f (patch)
tree64e81d4ba48e7c41001191c0aead24a756ac0fb5 /lib/lchown.h
parent75b6b90fe13bc9fe75399babe3824e574981a8d4 (diff)
downloadcoreutils-b294d530d4c561f966837eff4cacda785bac019f.tar.xz
.
Diffstat (limited to 'lib/lchown.h')
-rw-r--r--lib/lchown.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/lchown.h b/lib/lchown.h
new file mode 100644
index 000000000..25e4dac98
--- /dev/null
+++ b/lib/lchown.h
@@ -0,0 +1,9 @@
+/* Some systems don't have ENOSYS. */
+#ifndef ENOSYS
+# ifdef ENOTSUP
+# define ENOSYS ENOTSUP
+# else
+/* Some systems don't have ENOTSUP either. */
+# define ENOSYS ENOMSG
+# endif
+#endif