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:
Mandl 2015-01-12 21:58:43 +01:00 committed by Sean Cross
parent e948d27bb0
commit eba08f0218
2 changed files with 3 additions and 3 deletions

View file

@ -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"