Commit 7e35a594 authored by Sean Young's avatar Sean Young Committed by Shuah Khan

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: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarShuah Khan <shuah@kernel.org>
parent 2b531b61
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
TEST_PROGS := ir_loopback.sh TEST_PROGS := ir_loopback.sh
TEST_GEN_PROGS_EXTENDED := ir_loopback TEST_GEN_PROGS_EXTENDED := ir_loopback
APIDIR := ../../../include/uapi
CFLAGS += -Wall -O2 -I$(APIDIR)
include ../lib.mk include ../lib.mk
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment