summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chown.c')
-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 ();