]> www.infradead.org Git - mtd-utils.git/commitdiff
unittests/libmtd_test: Include fcntl header
authorOlliver Schinagl <oliver@schinagl.nl>
Mon, 15 Apr 2019 08:20:30 +0000 (10:20 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Thu, 25 Apr 2019 06:24:34 +0000 (08:24 +0200)
The test library for the mtd unit tests include various type's and
macro's that officially live in fcntl. Each file and header should
always properly include what they use, so lets add the fcntl headers.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/unittests/libmtd_test.c

index 633d94ac4f7d57fdb190bbd8d25773b67cb2f5f3..176d2ef26ff363ee5f9910e74a9162e2c7061a01 100644 (file)
@@ -1,3 +1,4 @@
+#include <fcntl.h>
 #include <stdarg.h>
 #include <setjmp.h>
 #include <stddef.h>