From 3ec9676df939e7297d7458f7ddfab8914c583bf6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 16 Jul 1998 23:25:29 +0000 Subject: [PATCH] include lchown.h --- lib/lchown.c | 11 +---------- 1 file changed, 1 insertion(+), 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. */ -- 2.11.0