[cairo-commit] perf/cairo-perf-report.c
Bryce Harrington
bryce at kemper.freedesktop.org
Thu Mar 5 16:59:20 PST 2015
perf/cairo-perf-report.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e9a615a2f94697c64a6702c1e3b24c59b156cc71
Author: Michael Haubenwallner <michael.haubenwallner at ssi-schaefer.com>
Date: Thu Feb 26 16:24:55 2015 +0100
define _GETDELIM for getline() on AIX
On AIX 6.1, getdelim() and getline() are not provided by default,
causing a gcc compilation error. With _GETDELIM defined, AIX's stdio.h
header provides definitions for these routines.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=89356
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
diff --git a/perf/cairo-perf-report.c b/perf/cairo-perf-report.c
index b86bc36..4bdcd46 100644
--- a/perf/cairo-perf-report.c
+++ b/perf/cairo-perf-report.c
@@ -25,6 +25,8 @@
* Authors: Carl Worth <cworth at cworth.org>
*/
+#define _GETDELIM 1/* for getline() on AIX */
+
#include "cairo-missing.h"
#include "cairo-perf.h"
#include "cairo-stats.h"
More information about the cairo-commit
mailing list