diff options
Diffstat (limited to 'platform/javascript/power_javascript.h')
-rw-r--r-- | platform/javascript/power_javascript.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/platform/javascript/power_javascript.h b/platform/javascript/power_javascript.h index e93737f98a..78a896c430 100644 --- a/platform/javascript/power_javascript.h +++ b/platform/javascript/power_javascript.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -27,10 +27,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - #ifndef PLATFORM_JAVASCRIPT_POWER_JAVASCRIPT_H_ #define PLATFORM_JAVASCRIPT_POWER_JAVASCRIPT_H_ +#include "os/power.h" + class PowerJavascript { private: int nsecs_left; @@ -48,4 +49,4 @@ public: int get_power_percent_left(); }; -#endif /* PLATFORM_JAVASCRIPT_POWER_JAVASCRIPT_H_ */
\ No newline at end of file +#endif /* PLATFORM_JAVASCRIPT_POWER_JAVASCRIPT_H_ */ |