aboutsummaryrefslogtreecommitdiffstats
path: root/trace-listen.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-09-12 14:29:40 -0300
committerSteven Rostedt <rostedt@goodmis.org>2012-10-01 13:59:49 -0400
commite2627c439cfa35c5784790b0e73216e4618824aa (patch)
treef413156d6a5dd8350ce85d81f62598dc3ea569ba /trace-listen.c
parent132c17c8bb060fbc82e2a8bf3bf5966cb2145c21 (diff)
downloadtrace-cmd-e2627c439cfa35c5784790b0e73216e4618824aa.tar.gz
tools lib traceevent: Define _GNU_SOURCE in Makefile
For the reasons stated on: commit 0a84f00 Author: David Daney <david.daney@cavium.com> perf tools: Fix broken build by defining _GNU_SOURCE in Makefile Acked-by: Steven Rostedt <rostedt@goodmis.org> Cc: David Ahern <dsahern@gmail.com> Cc: David Daney <david.daney@cavium.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/n/tip-e2nofbmj4uf0ykgsytxvt9pu@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> [ ported to trace-cmd ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-listen.c')
-rw-r--r--trace-listen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/trace-listen.c b/trace-listen.c
index 6fc9b883..8503b509 100644
--- a/trace-listen.c
+++ b/trace-listen.c
@@ -18,7 +18,6 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#define _LARGEFILE64_SOURCE
-#define _GNU_SOURCE
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>