]> git.sesse.net Git - vlc/commitdiff
macosx-update: UPDATE_CHECK is defined in config.h *coughcough*. Thanks to Rafael...
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 28 Feb 2008 11:06:53 +0000 (11:06 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 28 Feb 2008 11:06:53 +0000 (11:06 +0000)
modules/gui/macosx/update.h
modules/gui/macosx/update.m

index b3cf1654a60e39b4d449597accea872e8a086567..d3786295e40c4d97a298a3460962618c83a9bd58 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#   include "config.h"
+#endif
+
 #ifdef UPDATE_CHECK
 #import <Cocoa/Cocoa.h>
 #import "intf.h"
 #import <vlc_update.h>
 
+
 @interface VLCUpdate : NSObject
 {
     IBOutlet id o_btn_DownloadNow;
index 920a991d6a1bd1c9c20465f4d086ae12a5160656..b57780a087ca1f9d911ccb8a75fb47fbc773dd9c 100644 (file)
  * 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";