src/power/uikit/SDL_syspower.m
changeset 6044 35448a5ea044
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/src/power/uikit/SDL_syspower.m	Mon Oct 31 03:06:32 2011 -0400
     1.2 +++ b/src/power/uikit/SDL_syspower.m	Mon Oct 31 05:56:58 2011 -0400
     1.3 @@ -21,13 +21,14 @@
     1.4  #include "SDL_config.h"
     1.5  
     1.6  #ifndef SDL_POWER_DISABLED
     1.7 -#ifdef SDL_POWER_UIKIT
     1.8 +#if SDL_POWER_UIKIT
     1.9  
    1.10  #import <UIKit/UIKit.h>
    1.11  
    1.12  #include "SDL_power.h"
    1.13  #include "SDL_timer.h"
    1.14  #include "SDL_assert.h"
    1.15 +#include "SDL_syspower.h"
    1.16  
    1.17  // turn off the battery monitor if it's been more than X ms since last check.
    1.18  static const int BATTERY_MONITORING_TIMEOUT = 3000;