diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-03-08 00:19:14 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-03-08 00:30:28 +0100 |
commit | 24a2219fccbbb2fc58ec10df3b3f864508164b2d (patch) | |
tree | 53c9a0ca70d70e7418c5c3c012e2eb267a63804d | |
parent | dd79670b916e05cd1752452a100447e70b9ebb3e (diff) | |
download | towelroot-24a2219fccbbb2fc58ec10df3b3f864508164b2d.tar.gz towelroot-24a2219fccbbb2fc58ec10df3b3f864508164b2d.tar.bz2 towelroot-24a2219fccbbb2fc58ec10df3b3f864508164b2d.zip |
poc: Fix missing string.h
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | poc.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,10 +1,13 @@ -#include <stdio.h> -#include <unistd.h> #include <pthread.h> +#include <stdio.h> #include <stdlib.h> +#include <string.h> +#include <unistd.h> + #include <linux/futex.h> -#include <sys/syscall.h> #include <sys/socket.h> +#include <sys/syscall.h> +#include <sys/types.h> #define USERLOCK_FREE 0 #define USERLOCK_OCCUPIED 1 |