From: Olliver Schinagl Date: Mon, 15 Apr 2019 08:20:29 +0000 (+0200) Subject: unittests/test_lib: Include proper header for _IOC_SIZE X-Git-Tag: v2.1.1~14 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=55bb679ce5aadd6ce17f9df76d5367f41846366f;p=mtd-utils.git unittests/test_lib: Include proper header for _IOC_SIZE The macro _IOC_SIZE is not part of sys/ioctl.h but lives in asm/ioctl.h so we should include the proper header. If we do not, some systems complain during linking that they cannot find the symbol _IOC_SIZE() which was not expanded by the pre-compiler. Signed-off-by: Olliver Schinagl Signed-off-by: David Oberhollenzer --- diff --git a/tests/unittests/test_lib.h b/tests/unittests/test_lib.h index 7a6a003..cd94d9f 100644 --- a/tests/unittests/test_lib.h +++ b/tests/unittests/test_lib.h @@ -1,3 +1,4 @@ +#include #include #include #include