OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ec5f2
)
Make sure size_t is defined before used in strings.h
author
Martin Storsjo
<martin@martin.st>
Wed, 22 Jul 2009 09:41:02 +0000
(11:41 +0200)
committer
Martin Storsjo
<martin@martin.st>
Wed, 22 Jul 2009 09:41:02 +0000
(11:41 +0200)
Otherwise, including strings.h as the first file in a C file yields errors.
This fixes issue 3332.
libc/include/strings.h
patch
|
blob
|
history
diff --git
a/libc/include/strings.h
b/libc/include/strings.h
index
1f73e21
..
fee7dc4
100644
(file)
--- a/
libc/include/strings.h
+++ b/
libc/include/strings.h
@@
-39,6
+39,7
@@
#ifndef _STRINGS_H_
#define _STRINGS_H_
+#include <sys/types.h>
#include <sys/cdefs.h>
__BEGIN_DECLS