Skip to content

Commit

Permalink
selftests: openat2: Add missing dependency in Makefile
Browse files Browse the repository at this point in the history
[ Upstream commit ea33967 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
freefall75 authored and gregkh committed Feb 23, 2022
1 parent a613105 commit 04542fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/openat2/Makefile
Expand Up @@ -5,4 +5,4 @@ TEST_GEN_PROGS := openat2_test resolve_test rename_attack_test

include ../lib.mk

$(TEST_GEN_PROGS): helpers.c
$(TEST_GEN_PROGS): helpers.c helpers.h
1 change: 1 addition & 0 deletions tools/testing/selftests/openat2/helpers.h
Expand Up @@ -9,6 +9,7 @@

#define _GNU_SOURCE
#include <stdint.h>
#include <stdbool.h>
#include <errno.h>
#include <linux/types.h>
#include "../kselftest.h"
Expand Down

0 comments on commit 04542fd

Please sign in to comment.