Merge pull request #2 from jserv/fix-macos-build

Fix build on macOS
This commit is contained in:
Dmitry Stogov 2022-11-12 11:58:31 +03:00 committed by GitHub
commit f11c8a3d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
* Based on Mike Pall's implementation of GDB interface for LuaJIT.
*/
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>

View File

@ -8,7 +8,7 @@
#ifndef IR_PRIVATE_H
#define IR_PRIVATE_H
#include <string.h>
#include <malloc.h>
#include <stdlib.h>
#ifdef IR_DEBUG
# include <assert.h>