summaryrefslogtreecommitdiff
path: root/android/system-emulator.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-08 11:10:01 -0700
committerMarcel Holtmann <marcel@holtmann.org>2015-03-08 11:10:01 -0700
commit9e9be4d915292e40dc4c427b01523ec94c34c1c4 (patch)
tree5305db5b71524317917185de2e5c0df162b42cc6 /android/system-emulator.c
parent74798ed41fc3227603bf3887d931d724072f054c (diff)
downloadbluez-9e9be4d915292e40dc4c427b01523ec94c34c1c4.tar.gz
android: Define WAIT_ANY if it is missing
Diffstat (limited to 'android/system-emulator.c')
-rw-r--r--android/system-emulator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/system-emulator.c b/android/system-emulator.c
index 80ee034a3..61fb4967e 100644
--- a/android/system-emulator.c
+++ b/android/system-emulator.c
@@ -40,6 +40,10 @@
#include <sys/types.h>
#include <sys/stat.h>
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
#include "src/shared/mainloop.h"
static char exec_dir[PATH_MAX];