OSDN Git Service

If you're going to use memset...
authorElliott Hughes <enh@google.com>
Fri, 26 Feb 2016 06:05:28 +0000 (22:05 -0800)
committerElliott 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

index afda089..3401ed7 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <signal.h>
 #include <stdlib.h>
+#include <string.h>
 #include <sys/mman.h>
 
 #include "pthread_internal.h"