summaryrefslogtreecommitdiff
path: root/lib/lchown.h
diff options
context:
space:
mode:
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