diff options
author | Ilpo Järvinen <[email protected]> | 2023-10-02 12:48:10 +0300 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2023-10-13 14:54:21 -0600 |
commit | 3a1e4a91aa454a1c589a9824d54179fdbfccde45 (patch) | |
tree | 206f507f96937f6c4df885ebd466e0e537db49ff /net/lapb/lapb_timer.c | |
parent | 030b48fb2cf045dead8ee2c5ead560930044c029 (diff) |
selftests/resctrl: Move _GNU_SOURCE define into Makefile
_GNU_SOURCE is defined in resctrl.h. Defining _GNU_SOURCE has a large
impact on what gets defined when including headers either before or
after it. This can result in compile failures if .c file decides to
include a standard header file before resctrl.h.
It is safer to define _GNU_SOURCE in Makefile so it is always defined
regardless of in which order includes are done.
Signed-off-by: Ilpo Järvinen <[email protected]>
Tested-by: Shaopeng Tan <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Reviewed-by: Shaopeng Tan <[email protected]>
Cc: <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions