* 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 d2b0809..cd9787b 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 855db8f..c2a9ef6 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.