From 209c37b4a53d181973b74a2560906cbe5697b3a4 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Mon, 1 May 2017 21:48:15 +0300 Subject: [PATCH] configure: Add missing to avoid bogus warning This warning has nothing to do with what the code is trying to test. This isn't testing if memset(3) is available, so just silence the warning by including an appropriate header. -- # uname Linux # grep memset config.log -A2 | head -3 /tmp/fio-conf-23441-58170-6422.c:5:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(&cid, 0, sizeof(cid)); ^~~~~~ Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index d95d7cef..255fa221 100755 --- a/configure +++ b/configure @@ -904,6 +904,7 @@ if test "$clockid_t" != "yes" ; then fi cat > $TMPC << EOF #include +#include int main(int argc, char **argv) { volatile clockid_t cid; -- 2.25.1