mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-08-10 09:25:03 +00:00
fix compile warnings w/ slirp caused by not including stdlib
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
* the flags
|
* the flags
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <slirp.h>
|
#include <slirp.h>
|
||||||
|
|
||||||
struct mbuf *mbutl;
|
struct mbuf *mbutl;
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define WANT_SYS_IOCTL_H
|
#define WANT_SYS_IOCTL_H
|
||||||
|
#include <stdlib.h>
|
||||||
#include <slirp.h>
|
#include <slirp.h>
|
||||||
|
|
||||||
u_int curtime, time_fasttimo, last_slowtimo, detach_time;
|
u_int curtime, time_fasttimo, last_slowtimo, detach_time;
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
* terms and conditions of the copyright.
|
* terms and conditions of the copyright.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <slirp.h>
|
#include <slirp.h>
|
||||||
|
|
||||||
/* Done as a macro in socket.h */
|
/* Done as a macro in socket.h */
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define WANT_SYS_IOCTL_H
|
#define WANT_SYS_IOCTL_H
|
||||||
|
#include <stdlib.h>
|
||||||
#include <slirp.h>
|
#include <slirp.h>
|
||||||
#include "ip_icmp.h"
|
#include "ip_icmp.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
@@ -43,6 +43,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define WANT_SYS_IOCTL_H
|
#define WANT_SYS_IOCTL_H
|
||||||
|
#include <stdlib.h>
|
||||||
#include <slirp.h>
|
#include <slirp.h>
|
||||||
|
|
||||||
/* patchable/settable parameters for tcp */
|
/* patchable/settable parameters for tcp */
|
||||||
|
Reference in New Issue
Block a user