configure: Fix compile warning in utimensat/futimens test
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 18 Jul 2012 14:10:26 +0000 (15:10 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 31 Jul 2012 20:06:01 +0000 (20:06 +0000)
Fix compile warning in the utimensat/futimens test ("implicit
declaration of function 'utimensat'", ditto futimens) by
adding a missing include.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure

index d19e645..288f1a2 100755 (executable)
--- a/configure
+++ b/configure
@@ -2343,6 +2343,7 @@ cat > $TMPC << EOF
 #define _ATFILE_SOURCE
 #include <stddef.h>
 #include <fcntl.h>
+#include <sys/stat.h>
 
 int main(void)
 {