projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: define _DEFAULT_SOURCE for glibc_2.20
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
tools
/
perf
/
util
/
util.h
diff --git
a/tools/perf/util/util.h
b/tools/perf/util/util.h
index
6995d66
..
3830f6d
100644
(file)
--- a/
tools/perf/util/util.h
+++ b/
tools/perf/util/util.h
@@
-39,6
+39,8
@@
#define _ALL_SOURCE 1
#define _BSD_SOURCE 1
+/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */
+#define _DEFAULT_SOURCE 1
#define HAS_BOOL
#include <unistd.h>