diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2015-11-02 15:21:46 +0300 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2015-11-04 02:53:53 +0300 |
commit | c1ee48315d9f0be2c11c61d388a3938c2d4b010a (patch) | |
tree | eee6df90fcd7621618563ab47e28b5c38a28372e /tools/testing/selftests/mqueue/mq_perf_tests.c | |
parent | fd88d16c58c2ad689a68d6790c789e7d5be3fc5b (diff) | |
download | linux-c1ee48315d9f0be2c11c61d388a3938c2d4b010a.tar.xz |
selftests: Add missing #include directives
Several C programs fail to include the headers declaring all the
functions they call, resulting in warnings or errors.
After this, memfd_test.c is still missing some function declarations
but can't easily get them because of a conflict between
<linux/fcntl.h> and <sys/fcntl.h>.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/mqueue/mq_perf_tests.c')
-rw-r--r-- | tools/testing/selftests/mqueue/mq_perf_tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/mqueue/mq_perf_tests.c b/tools/testing/selftests/mqueue/mq_perf_tests.c index 8519e9ee97e3..8188f72de93c 100644 --- a/tools/testing/selftests/mqueue/mq_perf_tests.c +++ b/tools/testing/selftests/mqueue/mq_perf_tests.c @@ -37,6 +37,7 @@ #include <sys/stat.h> #include <mqueue.h> #include <popt.h> +#include <error.h> static char *usage = "Usage:\n" |