diff options
| author | Geert Uytterhoeven <[email protected]> | 2015-11-10 22:45:06 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-11-11 00:32:11 +0000 |
| commit | 60997feb14d5634fc7a9b18ab3c026ba8d3a5839 (patch) | |
| tree | 5dc0813f49a4d367fcaa0c5b55e333c98fa9c433 /lib/string.c | |
| parent | Merge git://www.linux-watchdog.org/linux-watchdog (diff) | |
| download | kernel-60997feb14d5634fc7a9b18ab3c026ba8d3a5839.tar.gz kernel-60997feb14d5634fc7a9b18ab3c026ba8d3a5839.zip | |
selftests/mlock2: add missing #define _GNU_SOURCE
On glibc 2.3.6:
mlock2-tests.c: In function 'seek_to_smaps_entry':
mlock2-tests.c:158: warning: implicit declaration of function 'getline'
According to the manpage of getline(), it needs _GNU_SOURCE before glibc
2.10.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Eric B Munson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
