diff --git a/Misc/NEWS b/Misc/NEWS index caaed293dd5..f24adc55a98 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -531,6 +531,9 @@ Tools/Demos Build ----- +- Bug #978645: Modules/getpath.c now builds properly in --disable-framework + build under OS X. + - Profiling using gprof is now available if Python is configured with --enable-profiling. diff --git a/Modules/getpath.c b/Modules/getpath.c index cbdcbd879fe..10ad509157a 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -6,7 +6,7 @@ #include #include -#ifdef WITH_NEXT_FRAMEWORK +#ifdef __APPLE__ #include #endif