OSDN Git Service
(root)
/
android-x86
/
external-gbm_gralloc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35be826
)
Explicitly include string.h
author
Rob Herring
<robh@kernel.org>
Wed, 24 Jan 2018 14:21:50 +0000
(08:21 -0600)
committer
Rob Herring
<robh@kernel.org>
Wed, 24 Jan 2018 14:21:50 +0000
(08:21 -0600)
The master build started failing on strcmp and memset being undeclared, so
explicitly include string.h.
Change-Id: I55d042b34e55375ed50f9300ab0c3abdfa0f2631
Signed-off-by: Rob Herring <robh@kernel.org>
gralloc.cpp
patch
|
blob
|
history
gralloc_gbm.cpp
patch
|
blob
|
history
diff --git
a/gralloc.cpp
b/gralloc.cpp
index
8db7f45
..
cf9f9c1
100644
(file)
--- a/
gralloc.cpp
+++ b/
gralloc.cpp
@@
-27,6
+27,7
@@
#include <cutils/log.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <string.h>
#include <pthread.h>
#include <errno.h>
diff --git
a/gralloc_gbm.cpp
b/gralloc_gbm.cpp
index
cfabdf0
..
e4bc9d8
100644
(file)
--- a/
gralloc_gbm.cpp
+++ b/
gralloc_gbm.cpp
@@
-28,6
+28,7
@@
#include <cutils/atomic.h>
#include <cutils/properties.h>
#include <stdlib.h>
+#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>