From 6296445e3bcadd6057217f762decc0dde670928c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 1 Feb 2012 21:10:53 +0000 Subject: [PATCH] [backfire] tools: merge r27916 (OS X 10.7 getline fix) SVN-Revision: 29983 --- tools/include/getline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/include/getline.h b/tools/include/getline.h index b9a3f7150f..02df6c2f79 100644 --- a/tools/include/getline.h +++ b/tools/include/getline.h @@ -27,12 +27,12 @@ * SUCH DAMAGE. */ -#ifndef __linux__ #include #include #include #include +#if !defined(__linux__) && !(defined(__APPLE__) && __DARWIN_C_LEVEL >= 200809L) /* * Emulate glibc getline() via BSD fgetln(). * Note that outsize is not changed unless memory is allocated. -- 2.30.2