summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-16 23:25:29 +0000
committerJim Meyering <jim@meyering.net>1998-07-16 23:25:29 +0000
commit1b03d98f62ee23b2d4226b9b68855c75e342a3b0 (patch)
tree54b4ce6865d80e538fea8efab39b010780eeced9 /lib
parentb294d530d4c561f966837eff4cacda785bac019f (diff)
downloadcoreutils-1b03d98f62ee23b2d4226b9b68855c75e342a3b0.tar.xz
include lchown.h
Diffstat (limited to 'lib')
-rw-r--r--lib/lchown.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/lchown.c b/lib/lchown.c
index 6ecf6bbea..f1e21e7e6 100644
--- a/lib/lchown.c
+++ b/lib/lchown.c
@@ -25,16 +25,7 @@
#ifndef errno
extern int errno;
#endif
-
-/* 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
+#include "lchown.h"
/* Work just like chown, except when FILE is a symbolic link.
In that case, set errno to ENOSYS and return -1. */