summaryrefslogtreecommitdiffstats
path: root/8/platforms/android-9/arch-x86/usr
diff options
context:
space:
mode:
Diffstat (limited to '8/platforms/android-9/arch-x86/usr')
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/GLES2/gl2.h4
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/android/bitmap.h5
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/byteswap.h3
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/dirent.h35
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/endian.h83
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/errno.h2
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/limits.h17
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/machine/endian.h71
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/pthread.h15
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/resolv.h1
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/sys/cdefs.h7
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/sys/endian.h1
-rw-r--r--8/platforms/android-9/arch-x86/usr/include/wchar.h2
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libEGL.sobin6340 -> 6344 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libGLESv1_CM.sobin34588 -> 34592 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libGLESv2.sobin28380 -> 28380 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libOpenSLES.sobin6936 -> 6940 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libandroid.sobin23304 -> 23308 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libc.sobin105700 -> 105700 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libdl.sobin5188 -> 5188 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libjnigraphics.sobin5160 -> 5160 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/liblog.sobin5384 -> 5384 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libm.sobin22024 -> 22028 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libstdc++.sobin5844 -> 5848 bytes
-rwxr-xr-x8/platforms/android-9/arch-x86/usr/lib/libz.sobin11172 -> 11172 bytes
25 files changed, 152 insertions, 94 deletions
diff --git a/8/platforms/android-9/arch-x86/usr/include/GLES2/gl2.h b/8/platforms/android-9/arch-x86/usr/include/GLES2/gl2.h
index e1d3b87..c139c25 100644
--- a/8/platforms/android-9/arch-x86/usr/include/GLES2/gl2.h
+++ b/8/platforms/android-9/arch-x86/usr/include/GLES2/gl2.h
@@ -528,7 +528,7 @@ GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures);
GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
-GL_APICALL int GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name);
+GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name);
GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params);
GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params);
GL_APICALL GLenum GL_APIENTRY glGetError (void);
@@ -547,7 +547,7 @@ GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum p
GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params);
GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params);
GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params);
-GL_APICALL int GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar* name);
+GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar* name);
GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params);
GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params);
GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer);
diff --git a/8/platforms/android-9/arch-x86/usr/include/android/bitmap.h b/8/platforms/android-9/arch-x86/usr/include/android/bitmap.h
index 160e34a..fabb7f4 100644
--- a/8/platforms/android-9/arch-x86/usr/include/android/bitmap.h
+++ b/8/platforms/android-9/arch-x86/usr/include/android/bitmap.h
@@ -23,11 +23,14 @@
__BEGIN_DECLS
-#define ANDROID_BITMAP_RESUT_SUCCESS 0
+#define ANDROID_BITMAP_RESULT_SUCCESS 0
#define ANDROID_BITMAP_RESULT_BAD_PARAMETER -1
#define ANDROID_BITMAP_RESULT_JNI_EXCEPTION -2
#define ANDROID_BITMAP_RESULT_ALLOCATION_FAILED -3
+/* Backward compatibility: this macro used to be misspelled. */
+#define ANDROID_BITMAP_RESUT_SUCCESS ANDROID_BITMAP_RESULT_SUCCESS
+
enum AndroidBitmapFormat {
ANDROID_BITMAP_FORMAT_NONE = 0,
ANDROID_BITMAP_FORMAT_RGBA_8888 = 1,
diff --git a/8/platforms/android-9/arch-x86/usr/include/byteswap.h b/8/platforms/android-9/arch-x86/usr/include/byteswap.h
index 16d2ad4..74b0e91 100644
--- a/8/platforms/android-9/arch-x86/usr/include/byteswap.h
+++ b/8/platforms/android-9/arch-x86/usr/include/byteswap.h
@@ -28,7 +28,8 @@
#ifndef _BYTESWAP_H_
#define _BYTESWAP_H_
-#include <sys/endian.h>
+/* endian.h rather than sys/endian.h so we get the machine-specific file. */
+#include <endian.h>
#define bswap_16(x) swap16(x)
#define bswap_32(x) swap32(x)
diff --git a/8/platforms/android-9/arch-x86/usr/include/dirent.h b/8/platforms/android-9/arch-x86/usr/include/dirent.h
index 55eef7b..f0a1e17 100644
--- a/8/platforms/android-9/arch-x86/usr/include/dirent.h
+++ b/8/platforms/android-9/arch-x86/usr/include/dirent.h
@@ -51,28 +51,29 @@ __BEGIN_DECLS
* who assume to be able to access it directly. sad...
*/
struct dirent {
- uint64_t d_ino;
- int64_t d_off;
- unsigned short d_reclen;
- unsigned char d_type;
- char d_name[256];
+ uint64_t d_ino;
+ int64_t d_off;
+ unsigned short d_reclen;
+ unsigned char d_type;
+ char d_name[256];
};
-typedef struct DIR DIR;
+typedef struct DIR DIR;
-extern int getdents(unsigned int, struct dirent*, unsigned int);
-extern DIR* opendir(const char* dirpath);
+extern DIR* opendir(const char* dirpath);
extern DIR* fdopendir(int fd);
-extern struct dirent* readdir(DIR* dirp);
-extern int readdir_r(DIR* dirp, struct dirent *entry, struct dirent **result);
-extern int closedir(DIR* dirp);
-extern void rewinddir(DIR *dirp);
+extern struct dirent* readdir(DIR* dirp);
+extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result);
+extern int closedir(DIR* dirp);
+extern void rewinddir(DIR* dirp);
extern int dirfd(DIR* dirp);
-extern int alphasort(const void *a, const void *b);
-extern int scandir(const char *dir, struct dirent ***namelist,
- int(*filter)(const struct dirent *),
- int(*compar)(const struct dirent **,
- const struct dirent **));
+extern int alphasort(const struct dirent** a, const struct dirent** b);
+extern int scandir(const char* dir, struct dirent*** namelist,
+ int(*filter)(const struct dirent*),
+ int(*compar)(const struct dirent**,
+ const struct dirent**));
+
+extern int getdents(unsigned int, struct dirent*, unsigned int);
__END_DECLS
diff --git a/8/platforms/android-9/arch-x86/usr/include/endian.h b/8/platforms/android-9/arch-x86/usr/include/endian.h
index 4a70536..475b48c 100644
--- a/8/platforms/android-9/arch-x86/usr/include/endian.h
+++ b/8/platforms/android-9/arch-x86/usr/include/endian.h
@@ -1,70 +1,33 @@
-/* $OpenBSD: endian.h,v 1.14 2005/12/13 00:35:23 millert Exp $ */
-
-/*-
- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ * All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- * 1. Redistributions of source code must retain the above copyright
+ * * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
*
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
*/
+#ifndef _ENDIAN_H_
+#define _ENDIAN_H_
-#ifndef _I386_ENDIAN_H_
-#define _I386_ENDIAN_H_
-
-#ifdef __GNUC__
-
-#if defined(_KERNEL) && !defined(I386_CPU)
-#define __swap32md(x) ({ \
- uint32_t __swap32md_x = (x); \
- \
- __asm ("bswap %1" : "+r" (__swap32md_x)); \
- __swap32md_x; \
-})
-#else
-#define __swap32md(x) ({ \
- uint32_t __swap32md_x = (x); \
- \
- __asm ("rorw $8, %w1; rorl $16, %1; rorw $8, %w1" : \
- "+r" (__swap32md_x)); \
- __swap32md_x; \
-})
-#endif /* _KERNEL && !I386_CPU */
-
-#define __swap64md(x) ({ \
- uint64_t __swap64md_x = (x); \
- \
- (uint64_t)__swap32md(__swap64md_x >> 32) | \
- (uint64_t)__swap32md(__swap64md_x & 0xffffffff) << 32; \
-})
-#define __swap16md(x) ({ \
- uint16_t __swap16md_x = (x); \
- \
- __asm ("rorw $8, %w1" : "+r" (__swap16md_x)); \
- __swap16md_x; \
-})
-
-/* Tell sys/endian.h we have MD variants of the swap macros. */
-#define MD_SWAP
-
-#endif /* __GNUC__ */
-
-#define _BYTE_ORDER _LITTLE_ENDIAN
#include <sys/endian.h>
-#endif /* _I386_ENDIAN_H_ */
+#endif /* _ENDIAN_H_ */
diff --git a/8/platforms/android-9/arch-x86/usr/include/errno.h b/8/platforms/android-9/arch-x86/usr/include/errno.h
index 2b2685a..e1b15c0 100644
--- a/8/platforms/android-9/arch-x86/usr/include/errno.h
+++ b/8/platforms/android-9/arch-x86/usr/include/errno.h
@@ -36,7 +36,7 @@ __BEGIN_DECLS
/* on Linux, ENOTSUP and EOPNOTSUPP are defined as the same error code
* even if 1000.3 states that they should be different
*/
-#ifndef ENOTUP
+#ifndef ENOTSUP
#define ENOTSUP EOPNOTSUPP
#endif
diff --git a/8/platforms/android-9/arch-x86/usr/include/limits.h b/8/platforms/android-9/arch-x86/usr/include/limits.h
index 1de8ea6..b9d4354 100644
--- a/8/platforms/android-9/arch-x86/usr/include/limits.h
+++ b/8/platforms/android-9/arch-x86/usr/include/limits.h
@@ -89,7 +89,24 @@
#include <sys/syslimits.h>
#endif
+/* GLibc compatibility definitions.
+ Note that these are defined by GCC's <limits.h>
+ only when __GNU_LIBRARY__ is defined, i.e. when
+ targetting GLibc. */
+#ifndef LONG_LONG_MIN
+#define LONG_LONG_MIN LLONG_MIN
+#endif
+
+#ifndef LONG_LONG_MAX
+#define LONG_LONG_MAX LLONG_MAX
+#endif
+
+#ifndef ULONG_LONG_MAX
+#define ULONG_LONG_MAX ULLONG_MAX
+#endif
+
#ifndef PAGESIZE
+#include <asm/page.h>
#define PAGESIZE PAGE_SIZE
#endif
diff --git a/8/platforms/android-9/arch-x86/usr/include/machine/endian.h b/8/platforms/android-9/arch-x86/usr/include/machine/endian.h
new file mode 100644
index 0000000..e7ad257
--- /dev/null
+++ b/8/platforms/android-9/arch-x86/usr/include/machine/endian.h
@@ -0,0 +1,71 @@
+/* $OpenBSD: endian.h,v 1.14 2005/12/13 00:35:23 millert Exp $ */
+
+/*-
+ * Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef _I386_ENDIAN_H_
+#define _I386_ENDIAN_H_
+
+#ifdef __GNUC__
+
+#if defined(_KERNEL) && !defined(I386_CPU)
+#define __swap32md(x) ({ \
+ uint32_t __swap32md_x = (x); \
+ \
+ __asm ("bswap %1" : "+r" (__swap32md_x)); \
+ __swap32md_x; \
+})
+#else
+#define __swap32md(x) ({ \
+ uint32_t __swap32md_x = (x); \
+ \
+ __asm ("rorw $8, %w1; rorl $16, %1; rorw $8, %w1" : \
+ "+r" (__swap32md_x)); \
+ __swap32md_x; \
+})
+#endif /* _KERNEL && !I386_CPU */
+
+#define __swap64md(x) ({ \
+ uint64_t __swap64md_x = (x); \
+ \
+ (uint64_t)__swap32md(__swap64md_x >> 32) | \
+ (uint64_t)__swap32md(__swap64md_x & 0xffffffff) << 32; \
+})
+#define __swap16md(x) ({ \
+ uint16_t __swap16md_x = (x); \
+ \
+ __asm ("rorw $8, %w1" : "+r" (__swap16md_x)); \
+ __swap16md_x; \
+})
+
+/* Tell sys/endian.h we have MD variants of the swap macros. */
+#define MD_SWAP
+
+#endif /* __GNUC__ */
+
+#define _BYTE_ORDER _LITTLE_ENDIAN
+#include <sys/types.h>
+#include <sys/endian.h>
+
+#endif /* _I386_ENDIAN_H_ */
diff --git a/8/platforms/android-9/arch-x86/usr/include/pthread.h b/8/platforms/android-9/arch-x86/usr/include/pthread.h
index 4baf82f..c3f055e 100644
--- a/8/platforms/android-9/arch-x86/usr/include/pthread.h
+++ b/8/platforms/android-9/arch-x86/usr/include/pthread.h
@@ -42,9 +42,13 @@ typedef struct
int volatile value;
} pthread_mutex_t;
-#define PTHREAD_MUTEX_INITIALIZER {0}
-#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER {0x4000}
-#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER {0x8000}
+#define __PTHREAD_MUTEX_INIT_VALUE 0
+#define __PTHREAD_RECURSIVE_MUTEX_INIT_VALUE 0x4000
+#define __PTHREAD_ERRORCHECK_MUTEX_INIT_VALUE 0x8000
+
+#define PTHREAD_MUTEX_INITIALIZER {__PTHREAD_MUTEX_INIT_VALUE}
+#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER {__PTHREAD_RECURSIVE_MUTEX_INIT_VALUE}
+#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER {__PTHREAD_ERRORCHECK_MUTEX_INIT_VALUE}
enum {
PTHREAD_MUTEX_NORMAL = 0,
@@ -306,9 +310,4 @@ extern void __pthread_cleanup_pop(__pthread_cleanup_t* c,
} /* extern "C" */
#endif
-/************ TO FIX ************/
-
-#define LONG_LONG_MAX __LONG_LONG_MAX__
-#define LONG_LONG_MIN (-__LONG_LONG_MAX__ - 1)
-
#endif /* _PTHREAD_H_ */
diff --git a/8/platforms/android-9/arch-x86/usr/include/resolv.h b/8/platforms/android-9/arch-x86/usr/include/resolv.h
index 4247d68..7c34012 100644
--- a/8/platforms/android-9/arch-x86/usr/include/resolv.h
+++ b/8/platforms/android-9/arch-x86/usr/include/resolv.h
@@ -34,6 +34,7 @@
#include <sys/socket.h>
#include <stdio.h>
#include <arpa/nameser.h>
+#include <netinet/in.h>
__BEGIN_DECLS
diff --git a/8/platforms/android-9/arch-x86/usr/include/sys/cdefs.h b/8/platforms/android-9/arch-x86/usr/include/sys/cdefs.h
index 849e2b8..92035d4 100644
--- a/8/platforms/android-9/arch-x86/usr/include/sys/cdefs.h
+++ b/8/platforms/android-9/arch-x86/usr/include/sys/cdefs.h
@@ -79,7 +79,7 @@
#define ___STRING(x) __STRING(x)
#define ___CONCAT(x,y) __CONCAT(x,y)
-#if __STDC__ || defined(__cplusplus)
+#if defined(__STDC__) || defined(__cplusplus)
#define __P(protos) protos /* full-blown ANSI C */
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x
@@ -213,7 +213,7 @@
* C99 defines the restrict type qualifier keyword, which was made available
* in GCC 2.92.
*/
-#if __STDC_VERSION__ >= 199901L
+#if defined(__STDC__VERSION__) && __STDC_VERSION__ >= 199901L
#define __restrict restrict
#else
#if !__GNUC_PREREQ__(2, 92)
@@ -225,7 +225,7 @@
* C99 defines __func__ predefined identifier, which was made available
* in GCC 2.95.
*/
-#if !(__STDC_VERSION__ >= 199901L)
+#if !defined(__STDC_VERSION__) || !(__STDC_VERSION__ >= 199901L)
#if __GNUC_PREREQ__(2, 6)
#define __func__ __PRETTY_FUNCTION__
#elif __GNUC_PREREQ__(2, 4)
@@ -497,5 +497,6 @@
#endif
#define __BIONIC__ 1
+#include <android/api-level.h>
#endif /* !_SYS_CDEFS_H_ */
diff --git a/8/platforms/android-9/arch-x86/usr/include/sys/endian.h b/8/platforms/android-9/arch-x86/usr/include/sys/endian.h
index 00f4839..2a0c658 100644
--- a/8/platforms/android-9/arch-x86/usr/include/sys/endian.h
+++ b/8/platforms/android-9/arch-x86/usr/include/sys/endian.h
@@ -37,6 +37,7 @@
#define _SYS_ENDIAN_H_
#include <sys/cdefs.h>
+#include <machine/endian.h>
#include <machine/_types.h>
#define _LITTLE_ENDIAN 1234
diff --git a/8/platforms/android-9/arch-x86/usr/include/wchar.h b/8/platforms/android-9/arch-x86/usr/include/wchar.h
index 86d6d73..fea648c 100644
--- a/8/platforms/android-9/arch-x86/usr/include/wchar.h
+++ b/8/platforms/android-9/arch-x86/usr/include/wchar.h
@@ -51,7 +51,7 @@
__BEGIN_DECLS
-typedef int wint_t;
+typedef __WINT_TYPE__ wint_t;
typedef struct { int dummy; } mbstate_t;
typedef enum {
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libEGL.so b/8/platforms/android-9/arch-x86/usr/lib/libEGL.so
index a52a1f3..7012259 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libEGL.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libEGL.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libGLESv1_CM.so b/8/platforms/android-9/arch-x86/usr/lib/libGLESv1_CM.so
index ca6209a..5ce1dd4 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libGLESv1_CM.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libGLESv1_CM.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libGLESv2.so b/8/platforms/android-9/arch-x86/usr/lib/libGLESv2.so
index b3267a1..3bb7434 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libGLESv2.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libGLESv2.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libOpenSLES.so b/8/platforms/android-9/arch-x86/usr/lib/libOpenSLES.so
index 98fc8e7..5fb3e4f 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libOpenSLES.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libOpenSLES.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libandroid.so b/8/platforms/android-9/arch-x86/usr/lib/libandroid.so
index 33b5c62..b4b3589 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libandroid.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libandroid.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libc.so b/8/platforms/android-9/arch-x86/usr/lib/libc.so
index fcd0d5d..d9bb69d 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libc.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libc.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libdl.so b/8/platforms/android-9/arch-x86/usr/lib/libdl.so
index efc8b91..e06ef95 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libdl.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libdl.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libjnigraphics.so b/8/platforms/android-9/arch-x86/usr/lib/libjnigraphics.so
index 644b94f..96c31f7 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libjnigraphics.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libjnigraphics.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/liblog.so b/8/platforms/android-9/arch-x86/usr/lib/liblog.so
index 0e5a347..19cca8f 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/liblog.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/liblog.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libm.so b/8/platforms/android-9/arch-x86/usr/lib/libm.so
index f5e1236..b37d72a 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libm.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libm.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libstdc++.so b/8/platforms/android-9/arch-x86/usr/lib/libstdc++.so
index def9e8b..3c4bfbc 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libstdc++.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libstdc++.so
Binary files differ
diff --git a/8/platforms/android-9/arch-x86/usr/lib/libz.so b/8/platforms/android-9/arch-x86/usr/lib/libz.so
index d11c39e..5502da3 100755
--- a/8/platforms/android-9/arch-x86/usr/lib/libz.so
+++ b/8/platforms/android-9/arch-x86/usr/lib/libz.so
Binary files differ