diff mbox series

[2/3] unittests/libmtd_test: Include fcntl header

Message ID 20190415082031.600-3-oliver@schinagl.nl
State Not Applicable
Headers show
Series [1/3] unittests/test_lib: Include proper header for _IOC_SIZE | expand

Commit Message

Olliver Schinagl April 15, 2019, 8:20 a.m. UTC
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>
---
 tests/unittests/libmtd_test.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tests/unittests/libmtd_test.c b/tests/unittests/libmtd_test.c
index 633d94a..176d2ef 100644
--- a/tests/unittests/libmtd_test.c
+++ b/tests/unittests/libmtd_test.c
@@ -1,3 +1,4 @@ 
+#include <fcntl.h>
 #include <stdarg.h>
 #include <setjmp.h>
 #include <stddef.h>