diff options
| author | Shuah Khan <skhan@linuxfoundation.org> | 2024-05-16 20:22:37 -0600 |
|---|---|---|
| committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-05-20 09:00:15 -0600 |
| commit | a97853f25b06f71c23b2d7a59fbd40f3f42d55ac (patch) | |
| tree | c420c9770c244dd666984e64824be4a57143523d /tools/testing/selftests/cgroup/test_core.c | |
| parent | 3da164023582969280df17636a9d829752787b1c (diff) | |
Revert "selftests/cgroup: Drop define _GNU_SOURCE"
This reverts commit c1457d9aad5ee2feafcf85aa9a58ab50500159d2.
The framework change to add D_GNU_SOURCE to KHDR_INCLUDES
to Makefile, lib.mk, and kselftest_harness.h is reverted
as it is causing build failures and warnings.
Revert this change as this change depends on the framework
change.
Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/cgroup/test_core.c')
| -rw-r--r-- | tools/testing/selftests/cgroup/test_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/cgroup/test_core.c b/tools/testing/selftests/cgroup/test_core.c index de8baad46022..a5672a91d273 100644 --- a/tools/testing/selftests/cgroup/test_core.c +++ b/tools/testing/selftests/cgroup/test_core.c @@ -1,4 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ + +#define _GNU_SOURCE #include <linux/limits.h> #include <linux/sched.h> #include <sys/types.h> |
