mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
include malloc.h in a few places to avoid warnings on Windows
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
#include <gu/str.h>
|
#include <gu/str.h>
|
||||||
#include <gu/assert.h>
|
#include <gu/assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <malloc.h>
|
||||||
|
|
||||||
struct GuSeq {
|
struct GuSeq {
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
#include <gu/utf8.h>
|
#include <gu/utf8.h>
|
||||||
#include <gu/assert.h>
|
#include <gu/assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <malloc.h>
|
||||||
|
|
||||||
struct GuStringBuf {
|
struct GuStringBuf {
|
||||||
GuBuf* buf;
|
GuBuf* buf;
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
#include <gu/utf8.h>
|
#include <gu/utf8.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <malloc.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// PgfReader
|
// PgfReader
|
||||||
|
|||||||
Reference in New Issue
Block a user