ramips: add support for the Senao/EnGenius ESR-9753 board
[openwrt.git] / tools / include / getline.h
index b9a3f71..02df6c2 100644 (file)
  * SUCH DAMAGE.
  */
 
-#ifndef __linux__
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
+#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.
This page took 0.023104 seconds and 4 git commands to generate.