diff options
author | Elliott Hughes <enh@google.com> | 2014-10-21 17:49:02 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-10-21 17:49:03 +0000 |
commit | 388dbd28ac977782c2ff7a0ba97e2fbfaebfed4b (patch) | |
tree | 56f1ca215686ab67be48fb99f01af8a2363ca966 /cmds | |
parent | 7f2bc6c73b9f21515235fb638a0f510af3c45b44 (diff) | |
parent | bb94f3107ea567ddf67bed4617c3bcbd602538df (diff) | |
download | frameworks_base-388dbd28ac977782c2ff7a0ba97e2fbfaebfed4b.zip frameworks_base-388dbd28ac977782c2ff7a0ba97e2fbfaebfed4b.tar.gz frameworks_base-388dbd28ac977782c2ff7a0ba97e2fbfaebfed4b.tar.bz2 |
Merge "Include <time.h> for clock_nanosleep."
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 7f7ae2c..f3e3aff 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -22,6 +22,7 @@ #include <fcntl.h> #include <utils/misc.h> #include <signal.h> +#include <time.h> #include <cutils/properties.h> @@ -56,10 +57,6 @@ #define SYSTEM_ENCRYPTED_BOOTANIMATION_FILE "/system/media/bootanimation-encrypted.zip" #define EXIT_PROP_NAME "service.bootanim.exit" -extern "C" int clock_nanosleep(clockid_t clock_id, int flags, - const struct timespec *request, - struct timespec *remain); - namespace android { static const int ANIM_ENTRY_NAME_MAX = 256; |