From: Felix Paul Kühne Date: Thu, 28 Feb 2008 11:06:53 +0000 (+0000) Subject: macosx-update: UPDATE_CHECK is defined in config.h *coughcough*. Thanks to Rafael... X-Git-Tag: 0.9.0-test0~2443 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=bf380af3ba3779a0364d3ecccad93b73464418ef;p=vlc macosx-update: UPDATE_CHECK is defined in config.h *coughcough*. Thanks to Rafael for the hint. --- diff --git a/modules/gui/macosx/update.h b/modules/gui/macosx/update.h index b3cf1654a6..d3786295e4 100644 --- a/modules/gui/macosx/update.h +++ b/modules/gui/macosx/update.h @@ -22,11 +22,16 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #ifdef UPDATE_CHECK #import #import "intf.h" #import + @interface VLCUpdate : NSObject { IBOutlet id o_btn_DownloadNow; diff --git a/modules/gui/macosx/update.m b/modules/gui/macosx/update.m index 920a991d6a..b57780a087 100644 --- a/modules/gui/macosx/update.m +++ b/modules/gui/macosx/update.m @@ -22,12 +22,13 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ +#import "update.h" + #ifdef UPDATE_CHECK /***************************************************************************** * Preamble *****************************************************************************/ -#import "update.h" static NSString * kPrefUpdateOnStartup = @"UpdateOnStartup"; static NSString * kPrefUpdateLastTimeChecked = @"UpdateLastTimeChecked";