fix compile warnings w/ slirp caused by not including stdlib

This commit is contained in:
asvitkine 2007-01-22 14:48:40 +00:00
parent 48907db336
commit dc68e99f7c
5 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,7 @@
* the flags
*/
#include <stdlib.h>
#include <slirp.h>
struct mbuf *mbutl;

View File

@ -6,6 +6,7 @@
*/
#define WANT_SYS_IOCTL_H
#include <stdlib.h>
#include <slirp.h>
u_int curtime, time_fasttimo, last_slowtimo, detach_time;

View File

@ -5,6 +5,7 @@
* terms and conditions of the copyright.
*/
#include <stdlib.h>
#include <slirp.h>
/* Done as a macro in socket.h */

View File

@ -6,6 +6,7 @@
*/
#define WANT_SYS_IOCTL_H
#include <stdlib.h>
#include <slirp.h>
#include "ip_icmp.h"
#include "main.h"

View File

@ -43,6 +43,7 @@
*/
#define WANT_SYS_IOCTL_H
#include <stdlib.h>
#include <slirp.h>
/* patchable/settable parameters for tcp */