Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-gbm_gralloc: Commit

external/gbm_gralloc


Commit MetaInfo

Revisioned2c246bfc6c4bd8f9ef72b6a771814cf493c1f8 (tree)
Time2018-01-24 23:21:50
AuthorRob Herring <robh@kern...>
CommiterRob Herring

Log Message

Explicitly include string.h

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>

Change Summary

Incremental Difference

--- a/gralloc.cpp
+++ b/gralloc.cpp
@@ -27,6 +27,7 @@
2727 #include <cutils/log.h>
2828 #include <stdlib.h>
2929 #include <stdarg.h>
30+#include <string.h>
3031 #include <pthread.h>
3132 #include <errno.h>
3233
--- a/gralloc_gbm.cpp
+++ b/gralloc_gbm.cpp
@@ -28,6 +28,7 @@
2828 #include <cutils/atomic.h>
2929 #include <cutils/properties.h>
3030 #include <stdlib.h>
31+#include <string.h>
3132 #include <errno.h>
3233 #include <sys/types.h>
3334 #include <sys/stat.h>
Show on old repository browser