changeset 7458:4a2b79b29fa6

* lchown.c: Include <sys/stat.h> before "stat-macros.h". Patch from Bruno Haible.
author Jim Meyering <jim@meyering.net>
date Mon, 09 Oct 2006 11:50:09 +0000
parents 9b9ff1d11568
children ed1c08123d81
files lib/ChangeLog lib/lchown.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-09  Jim Meyering  <jim@meyering.net>
+
+	* lchown.c: Include <sys/stat.h> before "stat-macros.h".
+	Patch from Bruno Haible.
+
 2006-10-08  Paul Eggert  <eggert@cs.ucla.edu>
 
 	Don't include <config.h> twice; this doesn't work in some cases,
--- a/lib/lchown.c
+++ b/lib/lchown.c
@@ -23,6 +23,7 @@
 
 #include "lchown.h"
 
+#include <sys/stat.h>
 #include "stat-macros.h"
 
 /* Work just like chown, except when FILE is a symbolic link.