summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-18 15:10:26 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-07-31 20:06:01 +0000
commit3014ee001d5da6c8a6e907901def5704947d513a (patch)
tree1ccbcef8b37df7e8a7bd44622c63c831bba8b424
parentfea08e0803f9cf2fc888c5b9fc0fd9b93a2272e7 (diff)
downloadfocaccia-qemu-3014ee001d5da6c8a6e907901def5704947d513a.tar.gz
focaccia-qemu-3014ee001d5da6c8a6e907901def5704947d513a.zip
configure: Fix compile warning in utimensat/futimens test
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>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index d19e64532f..288f1a25d7 100755
--- 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)
 {