X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fos_support.c;h=319c0fe2a23ed39324293fd3243feb21d1b0ccd3;hb=fd622f239f9145cff1121297d2ac2ebf17d5ec0a;hp=1ed89e6c85c4fde975c28a2bebedfcbbc8741a69;hpb=64b150213365db6be97a98d25884f87d83caacaf;p=u-boot diff --git a/tools/os_support.c b/tools/os_support.c index 1ed89e6c85..319c0fe2a2 100644 --- a/tools/os_support.c +++ b/tools/os_support.c @@ -23,6 +23,6 @@ #ifdef __MINGW32__ #include "mingw_support.c" #endif -#ifdef __APPLE__ +#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L #include "getline.c" #endif