linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Olliver Schinagl <oliver@schinagl.nl>
To: linux-mtd@lists.infradead.org
Cc: Olliver Schinagl <oliver@schinagl.nl>
Subject: [PATCH 2/3] unittests/libmtd_test: Include fcntl header
Date: Mon, 15 Apr 2019 10:20:30 +0200	[thread overview]
Message-ID: <20190415082031.600-3-oliver@schinagl.nl> (raw)
In-Reply-To: <20190415082031.600-1-oliver@schinagl.nl>

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 --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>
-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  parent reply	other threads:[~2019-04-15  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15  8:20 Allow tests to work on more platforms Olliver Schinagl
2019-04-15  8:20 ` [PATCH 1/3] unittests/test_lib: Include proper header for _IOC_SIZE Olliver Schinagl
2019-04-15  8:20 ` Olliver Schinagl [this message]
2019-04-15  8:20 ` [PATCH 3/3] unittests: Define the use of _GNU_SOURCE Olliver Schinagl
2019-04-25  6:27 ` Allow tests to work on more platforms David Oberhollenzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190415082031.600-3-oliver@schinagl.nl \
    --to=oliver@schinagl.nl \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).