diff --git a/src/wasm/graphite/shape.cc b/src/wasm/graphite/shape.cc index 6214a1525..be704b5a0 100644 --- a/src/wasm/graphite/shape.cc +++ b/src/wasm/graphite/shape.cc @@ -4,13 +4,8 @@ #include -extern "C" { -void *malloc(size_t size); -void *realloc(void *ptr, size_t size); -void free(void *ptr); -void abort(); -void *memset(void *s, int c, size_t n); -} +#include +#include void debugprint1 (char *s, int32_t); void debugprint2 (char *s, int32_t, int32_t);