aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2019-04-15 10:20:30 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-04-25 08:24:34 +0200
commit652958acad7d14c498d0bd7e93612bb3935ba070 (patch)
tree37660dbc6ae4ae7914022d3bf61376c844780e1c /tests
parent55bb679ce5aadd6ce17f9df76d5367f41846366f (diff)
unittests/libmtd_test: Include fcntl header
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/libmtd_test.c1
1 files changed, 1 insertions, 0 deletions
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>