* lib/fchownat.c: Include lchown.h.
authorJim Meyering <jim@meyering.net>
Sun, 18 Mar 2007 15:29:10 +0000 (15:29 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 18 Mar 2007 15:29:10 +0000 (15:29 +0000)
2007-03-17  Bruno Haible  <bruno@clisp.org>

ChangeLog
lib/fchownat.c

index 4e472c2..ee9eaa1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
        * lib/vasnprintf.c (EOVERFLOW): New fallback definition.
        (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is
index 382ed7b..801c92a 100644 (file)
@@ -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"