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:
a8e75ba
)
If you're going to use memset...
author
Elliott Hughes
<enh@google.com>
Fri, 26 Feb 2016 06:05:28 +0000
(22:05 -0800)
committer
Elliott Hughes
<enh@google.com>
Fri, 26 Feb 2016 06:05:28 +0000
(22:05 -0800)
...you'd better #include <string.h>.
Change-Id: I83e0877f4151fc764588e2d876e66d7712d41f61
libc/bionic/pthread_exit.cpp
patch
|
blob
|
history
diff --git
a/libc/bionic/pthread_exit.cpp
b/libc/bionic/pthread_exit.cpp
index
afda089
..
3401ed7
100644
(file)
--- a/
libc/bionic/pthread_exit.cpp
+++ b/
libc/bionic/pthread_exit.cpp
@@
-30,6
+30,7
@@
#include <signal.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/mman.h>
#include "pthread_internal.h"