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 40bd312623f7f911f87d138650a1b4c1a1dc1fa7..39a7215b484ac273e69f6dfd128e1d318a7a1295 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 e5fefa1f5df62d8d70d2efdee1dbabaa63e0fd84..6292ba08a24bed7a30edbeeda5723dd306577d47 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"