aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/openat2/helpers.h
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2022-01-26 10:27:22 +0000
committerShuah Khan <skhan@linuxfoundation.org>2022-01-27 16:30:55 -0700
commitea3396725aa143dd42fe388cb67e44c90d2fb719 (patch)
treec21b19e50ec2fec3336dc706f87ad484e1a594f0 /tools/testing/selftests/openat2/helpers.h
parentselftests: openat2: Print also errno in failure messages (diff)
downloadwireguard-linux-ea3396725aa143dd42fe388cb67e44c90d2fb719.tar.xz
wireguard-linux-ea3396725aa143dd42fe388cb67e44c90d2fb719.zip
selftests: openat2: Add missing dependency in Makefile
Add a dependency on header helpers.h to the main target; while at that add to helpers.h also a missing include for bool types. Cc: Aleksa Sarai <cyphar@cyphar.com> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/openat2/helpers.h')
-rw-r--r--tools/testing/selftests/openat2/helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/openat2/helpers.h b/tools/testing/selftests/openat2/helpers.h
index ad5d0ba5b6ce..7056340b9339 100644
--- a/tools/testing/selftests/openat2/helpers.h
+++ b/tools/testing/selftests/openat2/helpers.h
@@ -9,6 +9,7 @@
#define _GNU_SOURCE
#include <stdint.h>
+#include <stdbool.h>
#include <errno.h>
#include <linux/types.h>
#include "../kselftest.h"