summaryrefslogtreecommitdiff
path: root/sal/osl/unx/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/system.h')
-rw-r--r--sal/osl/unx/system.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h
index 9ff6cc48f..d9c90d204 100644
--- a/sal/osl/unx/system.h
+++ b/sal/osl/unx/system.h
@@ -135,6 +135,23 @@
#endif
+#ifdef ANDROID
+# include <pthread.h>
+# include <sys/file.h>
+# include <sys/ioctl.h>
+# include <sys/uio.h>
+# include <sys/un.h>
+# include <netinet/tcp.h>
+# include <dlfcn.h>
+# include <endian.h>
+# include <sys/time.h>
+# include <semaphore.h>
+# define IORESOURCE_TRANSFER_BSD
+# define IOCHANNEL_TRANSFER_BSD_RENO
+# define pthread_testcancel()
+# define NO_PTHREAD_PRIORITY
+#endif
+
#ifdef NETBSD
# include <sys/param.h>
# ifndef ETIME