summaryrefslogtreecommitdiffstats
path: root/cmds/bootanimation
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-10-21 10:41:33 -0700
committerElliott Hughes <enh@google.com>2014-10-21 10:41:33 -0700
commitbb94f3107ea567ddf67bed4617c3bcbd602538df (patch)
tree3526a7f6b2598fef61d4e03d93cf414e505b71ad /cmds/bootanimation
parente40974d92873462c4f1b100c7d03b3f41756c807 (diff)
downloadframeworks_base-bb94f3107ea567ddf67bed4617c3bcbd602538df.zip
frameworks_base-bb94f3107ea567ddf67bed4617c3bcbd602538df.tar.gz
frameworks_base-bb94f3107ea567ddf67bed4617c3bcbd602538df.tar.bz2
Include <time.h> for clock_nanosleep.
Change-Id: If3098fa03003bce5d06d60e9129c10cce3c850bb
Diffstat (limited to 'cmds/bootanimation')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp5
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;