[wasm/graphite] Include standard headers

Since we use emcc here.
This commit is contained in:
Behdad Esfahbod 2023-02-25 12:17:30 -07:00
parent 1f86890b75
commit d5d8fc046f
1 changed files with 2 additions and 7 deletions

View File

@ -4,13 +4,8 @@
#include <graphite2/Segment.h>
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 <stdlib.h>
#include <string.h>
void debugprint1 (char *s, int32_t);
void debugprint2 (char *s, int32_t, int32_t);