selftests: ptp: Fix incorrect kernel headers search path
[platform/kernel/linux-starfive.git] / tools / testing / selftests / ptp / Makefile
index ef06de0..eeab44c 100644 (file)
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
-CFLAGS += -I../../../../usr/include/
+CFLAGS += $(KHDR_INCLUDES)
 TEST_PROGS := testptp
 LDLIBS += -lrt
 all: $(TEST_PROGS)