bionic: fix gcc build
The memset() prototype from glibc includes __THROW and __nonnull as decorators, which are nonstandard. Remove these for additional compatibility with gcc. Additionally, remove linux/types.h and linux/string.h, and replace them with sys/types.h and sys/string.h.
This commit is contained in:
parent
e948d27bb0
commit
eba08f0218
2 changed files with 3 additions and 3 deletions
|
@ -12,8 +12,8 @@
|
|||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/string.h>
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include "bionic.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue