* lchown.c: Include <sys/stat.h> before "stat-macros.h".
authorJim Meyering <jim@meyering.net>
Mon, 9 Oct 2006 11:50:09 +0000 (11:50 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 9 Oct 2006 11:50:09 +0000 (11:50 +0000)
Patch from Bruno Haible.

lib/ChangeLog
lib/lchown.c

index d2b08096f93b2ec833421f58f423bf6207320cb5..cd9787bae02e98d32998d561ecd8789406077bcd 100644 (file)
@@ -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,
index 855db8f5562e5c57ed4e3bc56a1a7b21103c4c02..c2a9ef6cdeea10cc9a63e74bdc59227304e2b6af 100644 (file)
@@ -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.