mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-01 00:12:36 -05:00
perf tools: Fix _GNU_SOURCE macro related strndup() build error
strndup is a GNU extension. So dont include string.h without defining _GNU_SOURCE (it results in a compile error otherwise). Remove these includes as util.h does it already. Signed-off-by: Liming Wang <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> Acked-by: Xiao Guangrong <[email protected]> Cc: [email protected] Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
7be077f563
commit
c19e33aa84
1 changed files with 0 additions and 2 deletions
|
|
@ -1,5 +1,3 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "string.h"
|
||||
#include "util.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue