changeset 8470:90adffc26962

* lib/fchownat.c: Include lchown.h. 2007-03-17 Bruno Haible <bruno@clisp.org>
author Jim Meyering <jim@meyering.net>
date Sun, 18 Mar 2007 15:29:10 +0000
parents d2c38822872e
children 7251aef6b316
files ChangeLog lib/fchownat.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+	* lib/fchownat.c: Include lchown.h.
+
 2007-03-17  Bruno Haible  <bruno@clisp.org>
 
 	Fix endless loop when the given allocated size was > INT_MAX.
--- a/lib/fchownat.c
+++ b/lib/fchownat.c
@@ -4,7 +4,7 @@
    when the buggy fchownat-with-AT_SYMLINK_NOFOLLOW operates on a symlink, it
    mistakenly affects the symlink referent, rather than the symlink itself.
 
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006-2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -29,6 +29,7 @@
 #include <unistd.h>
 
 #include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
+#include "lchown.h"
 #include "save-cwd.h"
 #include "openat-priv.h"