perf tools: Fix _GNU_SOURCE macro related strndup() build error
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 <8ebed96d16a71333989ee6ad2e944cd8bce34861@windriver.com>
Acked-by: Frederic Weisbecker <e8a1bf9163cb25e93cfd6540f223b3872ea7ee55@gmail.com>
Acked-by: Xiao Guangrong <1e0036c3819c78880ef9e9a8457e99783a5661e3@cn.fujitsu.com>
Cc: 3fddac958924aef220f202ca567388ddab3f14a8@infradead.org
Cc: 308c3db2ad395e67f502db11a9ceb1603d4442e0@redhat.com
LKML-Reference: <1259734306-26323-1-git-send-email-8ebed96d16a71333989ee6ad2e944cd8bce34861@windriver.com>
Signed-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>

KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs