Second shot at fixing macOS compilation
This commit is contained in:
@@ -25,7 +25,6 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#define HAVE_STDARG_H
|
#define HAVE_STDARG_H
|
||||||
#include <86box/86box.h>
|
#include <86box/86box.h>
|
||||||
|
|||||||
@@ -388,4 +388,4 @@ int slirp_bind_outbound(struct socket *so, unsigned short af)
|
|||||||
ret = bind(so->s, addr, addr_size);
|
ret = bind(so->s, addr, addr_size);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
* Copyright 2020 RichardG.
|
* Copyright 2020 RichardG.
|
||||||
*/
|
*/
|
||||||
#include <tinyglib.h>
|
#include <tinyglib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/* Must be a function, as libslirp redefines it as a macro. */
|
/* Must be a function, as libslirp redefines it as a macro. */
|
||||||
gboolean
|
gboolean
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
#include <tinyglib.h>
|
#include <tinyglib.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
int slirp_inet_aton(const char *cp, struct in_addr *ia)
|
int slirp_inet_aton(const char *cp, struct in_addr *ia)
|
||||||
|
|||||||
Reference in New Issue
Block a user