summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/resctrl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/resctrl/Makefile')
-rw-r--r--tools/testing/selftests/resctrl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile
index 5073dbc96125..2deac2031de9 100644
--- a/tools/testing/selftests/resctrl/Makefile
+++ b/tools/testing/selftests/resctrl/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2
+CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
CFLAGS += $(KHDR_INCLUDES)
TEST_GEN_PROGS := resctrl_tests