diff --git a/lib/lchown.h b/lib/lchown.h new file mode 100644 index 00000000..25e4dac9 --- /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