From 0e1c454a80bc9f1516ebc910ceb257bc6733e6b4 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 17 Aug 2015 15:47:42 -0600 Subject: [PATCH] mtd: expand configure check SLES 11.4 has enough of mtd to pass the configure checks, but not to compile it. Expand the checks to hopefully be enough. Signed-off-by: Jens Axboe --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 4fb65e66..1a41fe58 100755 --- a/configure +++ b/configure @@ -1409,11 +1409,14 @@ echo "HDFS engine $libhdfs" # Check whether we have MTD mtd="no" cat > $TMPC << EOF +#include #include #include int main(int argc, char **argv) { + struct mtd_write_req ops; struct mtd_info_user info; + memset(&ops, 0, sizeof(ops)); info.type = MTD_MLCNANDFLASH; return ioctl(0, MEMGETINFO, &info); } -- 2.25.1