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@osg.samsung.com>
This commit is contained in:
Michael Haubenwallner 2015-02-26 16:24:55 +01:00 committed by Bryce Harrington
parent f72bd7c757
commit e9a615a2f9

View file

@ -25,6 +25,8 @@
* Authors: Carl Worth <cworth@cworth.org>
*/
#define _GETDELIM 1/* for getline() on AIX */
#include "cairo-missing.h"
#include "cairo-perf.h"
#include "cairo-stats.h"