diff mbox

[09/11] configure: Fix compile warning in utimensat/futimens test

Message ID 1342620628-12751-10-git-send-email-peter.maydell@linaro.org
State New
Headers show

Commit Message

Peter Maydell July 18, 2012, 2:10 p.m. UTC
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>
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Stefan Weil July 18, 2012, 3:48 p.m. UTC | #1
Am 18.07.2012 16:10, schrieb Peter Maydell:
> 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>
> ---
>   configure |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/configure b/configure
> index 9c2a84d..638e486 100755
> --- a/configure
> +++ b/configure
> @@ -2341,6 +2341,7 @@ cat > $TMPC << EOF
>   #define _ATFILE_SOURCE
>   #include <stddef.h>
>   #include <fcntl.h>
> +#include <sys/stat.h>
>   
>   int main(void)
>   {

Reviewed-by: Stefan Weil <sw@weilnetz.de>
diff mbox

Patch

diff --git a/configure b/configure
index 9c2a84d..638e486 100755
--- a/configure
+++ b/configure
@@ -2341,6 +2341,7 @@  cat > $TMPC << EOF
 #define _ATFILE_SOURCE
 #include <stddef.h>
 #include <fcntl.h>
+#include <sys/stat.h>
 
 int main(void)
 {