perf tools: define _DEFAULT_SOURCE for glibc_2.20
authorChanho Park <chanho61.park@samsung.com>
Fri, 12 Sep 2014 02:03:01 +0000 (11:03 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Tue, 7 Oct 2014 14:51:57 +0000 (16:51 +0200)
commitcc68b0d6a7f1ec92c5d03afaa3efc979b7a26281
tree1ea280d27f8ec5c6258d4f9f055202aade3e5a3d
parentd2c340051e6268f79800ee85da16978ba504e714
perf tools: define _DEFAULT_SOURCE for glibc_2.20

_BSD_SOURCE was deprecated in favour of _DEFAULT_SOURCE since glibc
2.20[1]. To avoid build warning on glibc2.20, _DEFAULT_SOURCE should
also be defined.

[1]: https://sourceware.org/glibc/wiki/Release/2.20

Change-Id: I01a2849bb8642cbf5c875caf227ab05e6fa0fa41
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
tools/perf/util/util.h