]> www.infradead.org Git - mtd-utils.git/commit
unittests/test_lib: Include proper header for _IOC_SIZE
authorOlliver Schinagl <oliver@schinagl.nl>
Mon, 15 Apr 2019 08:20:29 +0000 (10:20 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Thu, 25 Apr 2019 06:24:31 +0000 (08:24 +0200)
commit55bb679ce5aadd6ce17f9df76d5367f41846366f
tree15d73bb8ddb64d77118a366d7a474909c7e37183
parent2a26da4468197884d1381bffafe9161453863505
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 <oliver@schinagl.nl>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/unittests/test_lib.h