Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb94f310 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Include <time.h> for clock_nanosleep.

Change-Id: If3098fa03003bce5d06d60e9129c10cce3c850bb
parent e40974d9
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;