summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-16 23:41:03 +0000
committerJim Meyering <jim@meyering.net>1998-07-16 23:41:03 +0000
commit7ac1d190bca85e6ed126ef3f440083551970556f (patch)
treeb17ca96dcbb7d8afe41c59d6d8caa77147705d95 /src
parent0c3c6b1b0bc98e61a197ac5b088e575a1552d377 (diff)
downloadcoreutils-7ac1d190bca85e6ed126ef3f440083551970556f.tar.xz
Include lchown.h.
Diffstat (limited to 'src')
-rw-r--r--src/chown.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/chown.c b/src/chown.c
index d0c33109d..0c58d48e8 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -39,16 +39,7 @@
#include "closeout.h"
#include "error.h"
#include "savedir.h"
-
-/* 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"
#ifndef _POSIX_VERSION
struct passwd *getpwnam ();