aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/pkg/wuffs/include/stdlib.h
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-10 21:51:57 +0300
committerGitHub <noreply@github.com>2026-09-10 21:51:57 +0300
commit425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch)
treee52c4383a6d69216cbe2a32638bf90841d7e2189 /vendor/libghostty-vt/pkg/wuffs/include/stdlib.h
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/pkg/wuffs/include/stdlib.h')
-rw-r--r--vendor/libghostty-vt/pkg/wuffs/include/stdlib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/pkg/wuffs/include/stdlib.h b/vendor/libghostty-vt/pkg/wuffs/include/stdlib.h
new file mode 100644
index 00000000..5c050743
--- /dev/null
+++ b/vendor/libghostty-vt/pkg/wuffs/include/stdlib.h
@@ -0,0 +1,13 @@
+// Minimal stdlib.h so that wuffs can be translated and compiled without
+// requiring libc headers. See string.h in this directory for details.
+#ifndef GHOSTTY_WUFFS_STDLIB_H
+#define GHOSTTY_WUFFS_STDLIB_H
+
+#include <stddef.h>
+
+void *malloc(size_t size);
+void *calloc(size_t count, size_t size);
+void *realloc(void *ptr, size_t size);
+void free(void *ptr);
+
+#endif