ramips: load the input drivers during preinit
[openwrt.git] / tools / mkimage / patches / 020-darwin-10_7-getline-fix.patch
1 --- a/tools/os_support.h
2 +++ b/tools/os_support.h
3 @@ -28,7 +28,7 @@
4 #include "mingw_support.h"
5 #endif
6
7 -#ifdef __APPLE__
8 +#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
9 #include "getline.h"
10 #endif
11
12 --- a/tools/os_support.c
13 +++ b/tools/os_support.c
14 @@ -23,6 +23,7 @@
15 #ifdef __MINGW32__
16 #include "mingw_support.c"
17 #endif
18 -#ifdef __APPLE__
19 +
20 +#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
21 #include "getline.c"
22 #endif
This page took 0.050392 seconds and 5 git commands to generate.