Skip to content

Commit ea33967

Browse files
cris-mashuahkh
authored andcommitted
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>
1 parent e051cdf commit ea33967

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/testing/selftests/openat2/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ TEST_GEN_PROGS := openat2_test resolve_test rename_attack_test
55

66
include ../lib.mk
77

8-
$(TEST_GEN_PROGS): helpers.c
8+
$(TEST_GEN_PROGS): helpers.c helpers.h

tools/testing/selftests/openat2/helpers.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#define _GNU_SOURCE
1111
#include <stdint.h>
12+
#include <stdbool.h>
1213
#include <errno.h>
1314
#include <linux/types.h>
1415
#include "../kselftest.h"

0 commit comments

Comments
 (0)