aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/c
diff options
context:
space:
mode:
authorGravatar stephana <stephana@google.com>2014-10-31 07:11:19 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-31 07:11:19 -0700
commit0b5fc9774f6cf155ba4ff1a8e4e3e753206ad969 (patch)
tree54c67bc4040b51fdeff321d3421bd1a9e7ffabf5 /include/c
parent38406c82b913350e55fa04af8c1941cd9b4aff52 (diff)
Quick and dirty test to call the C interface from GO.
Diffstat (limited to 'include/c')
-rw-r--r--include/c/sk_surface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/c/sk_surface.h b/include/c/sk_surface.h
index 960c331d2d..5fcf9ddd41 100644
--- a/include/c/sk_surface.h
+++ b/include/c/sk_surface.h
@@ -14,6 +14,10 @@
#include <stdint.h>
#include <stddef.h>
+#ifndef __cplusplus
+#include <stdbool.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif