Fix tests on Android

parent 3da0feef
...@@ -125,6 +125,8 @@ static void *concurrent(void *arguments) ...@@ -125,6 +125,8 @@ static void *concurrent(void *arguments)
{ {
do_function(arguments); do_function(arguments);
pthread_exit(NULL); pthread_exit(NULL);
return NULL;
} }
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#include <stdio.h>
#define TTYCNT 4 #define TTYCNT 4
#define TTYCNT_STR "4" #define TTYCNT_STR "4"
......
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#define _GNU_SOURCE #include <lxc/namespace.h>
#include <sched.h> #include <sched.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/reboot.h> #include <linux/reboot.h>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include "../lxc/lxc.h" #include "../lxc/lxc.h"
#define MYNAME "snapxxx1" #define MYNAME "snapxxx1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment