test-renameat.c: include <sys/stat.h>
authorJim Meyering <meyering@redhat.com>
Sun, 23 May 2010 19:57:32 +0000 (21:57 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 23 May 2010 19:58:17 +0000 (21:58 +0200)
* tests/test-renameat.c: Include <sys/stat.h>; required for
definition of S_IS* macros.

ChangeLog
tests/test-renameat.c

index 40bd312..39a7215 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-23  Jim Meyering  <meyering@redhat.com>
+
+       test-renameat.c: include <sys/stat.h>
+       * tests/test-renameat.c: Include <sys/stat.h>; required for
+       definition of S_IS* macros.
+
 2010-05-23  Ben Pfaff  <blp@cs.stanford.edu>
 
        Update maintainer documentation for 'relocatable-prog' module.
index e5fefa1..6292ba0 100644 (file)
@@ -29,6 +29,7 @@ SIGNATURE_CHECK (renameat, int, (int, char const *, int, char const *));
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/stat.h>
 
 #include "filenamecat.h"
 #include "xgetcwd.h"