Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Cristian Marussi and committed by
Shuah Khan
ea339672 e051cdf6

+2 -1
+1 -1
tools/testing/selftests/openat2/Makefile
··· 5 5 6 6 include ../lib.mk 7 7 8 - $(TEST_GEN_PROGS): helpers.c 8 + $(TEST_GEN_PROGS): helpers.c helpers.h
+1
tools/testing/selftests/openat2/helpers.h
··· 9 9 10 10 #define _GNU_SOURCE 11 11 #include <stdint.h> 12 + #include <stdbool.h> 12 13 #include <errno.h> 13 14 #include <linux/types.h> 14 15 #include "../kselftest.h"