diff options
Diffstat (limited to 'evdevtest/juice_evtest.c')
-rw-r--r-- | evdevtest/juice_evtest.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/evdevtest/juice_evtest.c b/evdevtest/juice_evtest.c index 652f2da..66f98e4 100644 --- a/evdevtest/juice_evtest.c +++ b/evdevtest/juice_evtest.c @@ -25,6 +25,13 @@ #define CLOCK_REALTIME_ALARM 8 #define CLOCK_BOOTTIME_ALARM 9 +#ifndef EVIOCGSUSPENDBLOCK +/* Those calls aren't part of the official kernel - but we're likely + * using Bionic's kernel headers */ +#define EVIOCGSUSPENDBLOCK _IOR('E', 0x91, int) +#define EVIOCSSUSPENDBLOCK _IOW('E', 0x91, int) +#endif + void sigalarm(int signumber) { /*We just want to test the suspend and resuem |