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

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>

authored by

Sean Young and committed by
Shuah Khan
7e35a594 2b531b61

+2
+2
tools/testing/selftests/ir/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 TEST_PROGS := ir_loopback.sh 3 3 TEST_GEN_PROGS_EXTENDED := ir_loopback 4 + APIDIR := ../../../include/uapi 5 + CFLAGS += -Wall -O2 -I$(APIDIR) 4 6 5 7 include ../lib.mk