summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rtc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/rtc/Makefile')
-rw-r--r--tools/testing/selftests/rtc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rtc/Makefile b/tools/testing/selftests/rtc/Makefile
index 55198ecc04db..9dbb395c5c79 100644
--- a/tools/testing/selftests/rtc/Makefile
+++ b/tools/testing/selftests/rtc/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-CFLAGS += -O3 -Wl,-no-as-needed -Wall
+CFLAGS += -O3 -Wl,-no-as-needed -Wall -I$(top_srcdir)/usr/include
LDLIBS += -lrt -lpthread -lm
TEST_GEN_PROGS = rtctest