Second shot at fixing macOS compilation

This commit is contained in:
Cacodemon345
2021-08-25 01:28:25 +06:00
parent d24359bc33
commit 91e27c0ffc
4 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,6 @@
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define HAVE_STDARG_H
#include <86box/86box.h>

View File

@@ -388,4 +388,4 @@ int slirp_bind_outbound(struct socket *so, unsigned short af)
ret = bind(so->s, addr, addr_size);
}
return ret;
}
}

View File

@@ -15,7 +15,7 @@
* Copyright 2020 RichardG.
*/
#include <tinyglib.h>
#include <string.h>
/* Must be a function, as libslirp redefines it as a macro. */
gboolean

View File

@@ -31,6 +31,7 @@
#include <tinyglib.h>
#include <fcntl.h>
#include <stdint.h>
#include <string.h>
#if defined(_WIN32)
int slirp_inet_aton(const char *cp, struct in_addr *ia)