diff options
author | Sean Young <sean@mess.org> | 2019-01-17 15:29:38 +0000 |
---|---|---|
committer | Shuah Khan <shuah@kernel.org> | 2019-01-25 14:58:46 -0700 |
commit | 7e35a5940fab59eeccb9162eb2389342e0a87e53 (patch) | |
tree | 9a054cb7f18460b8af25c28a6d5682cd5e37395d /tools | |
parent | 2b531b6137834a55857a337ac17510d6436b6fbb (diff) | |
download | linux-7e35a5940fab59eeccb9162eb2389342e0a87e53.tar.bz2 |
selftests: Use lirc.h from kernel tree, not from system
When the system lirc.h is older than v4.16, you will get errors like:
ir_loopback.c:32:16: error: field ‘proto’ has incomplete type
enum rc_proto proto;
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/ir/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/ir/Makefile b/tools/testing/selftests/ir/Makefile index f4ba8eb84b95..ad06489c22a5 100644 --- a/tools/testing/selftests/ir/Makefile +++ b/tools/testing/selftests/ir/Makefile @@ -1,5 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 TEST_PROGS := ir_loopback.sh TEST_GEN_PROGS_EXTENDED := ir_loopback +APIDIR := ../../../include/uapi +CFLAGS += -Wall -O2 -I$(APIDIR) include ../lib.mk |