diff --git a/slirp/arp_table.c b/slirp/arp_table.c index bcaeb4486056..3547043555d0 100644 --- a/slirp/arp_table.c +++ b/slirp/arp_table.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "slirp.h" void arp_table_add(Slirp *slirp, uint32_t ip_addr, uint8_t ethaddr[ETH_ALEN]) diff --git a/slirp/bootp.c b/slirp/bootp.c index 00272793e077..7b3232bdc4b0 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #if defined(_WIN32) diff --git a/slirp/cksum.c b/slirp/cksum.c index 63286600e7cb..bc0d017d2482 100644 --- a/slirp/cksum.c +++ b/slirp/cksum.c @@ -30,6 +30,7 @@ * in_cksum.c,v 1.2 1994/08/02 07:48:16 davidg Exp */ +#include "qemu/osdep.h" #include /* diff --git a/slirp/dnssearch.c b/slirp/dnssearch.c index 4c9064ecb681..aed2f13af50d 100644 --- a/slirp/dnssearch.c +++ b/slirp/dnssearch.c @@ -22,9 +22,7 @@ * THE SOFTWARE. */ -#include -#include -#include +#include "qemu/osdep.h" #include #include "slirp.h" diff --git a/slirp/if.c b/slirp/if.c index 8325a2afb550..93d7cc0b43d4 100644 --- a/slirp/if.c +++ b/slirp/if.c @@ -5,6 +5,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include #include "qemu/timer.h" diff --git a/slirp/ip_icmp.c b/slirp/ip_icmp.c index 592f33a82738..ace39821d990 100644 --- a/slirp/ip_icmp.c +++ b/slirp/ip_icmp.c @@ -30,6 +30,7 @@ * ip_icmp.c,v 1.7 1995/05/30 08:09:42 rgrimes Exp */ +#include "qemu/osdep.h" #include "slirp.h" #include "ip_icmp.h" diff --git a/slirp/ip_input.c b/slirp/ip_input.c index 7d436e6ecc4f..e4855ae0f08f 100644 --- a/slirp/ip_input.c +++ b/slirp/ip_input.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include #include #include "ip_icmp.h" diff --git a/slirp/ip_output.c b/slirp/ip_output.c index 1254d0d585a7..0d6b3b8312ba 100644 --- a/slirp/ip_output.c +++ b/slirp/ip_output.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include /* Number of packets queued before we start sending diff --git a/slirp/mbuf.c b/slirp/mbuf.c index bc942b63e491..c959758465b7 100644 --- a/slirp/mbuf.c +++ b/slirp/mbuf.c @@ -15,6 +15,7 @@ * the flags */ +#include "qemu/osdep.h" #include #define MBUF_THRESH 30 diff --git a/slirp/misc.c b/slirp/misc.c index 5497161f136a..e2eea2e4b319 100644 --- a/slirp/misc.c +++ b/slirp/misc.c @@ -5,6 +5,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include #include diff --git a/slirp/sbuf.c b/slirp/sbuf.c index b8c3db744f02..dd4cb8c1396d 100644 --- a/slirp/sbuf.c +++ b/slirp/sbuf.c @@ -5,6 +5,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include #include diff --git a/slirp/slirp.c b/slirp/slirp.c index b900775effd6..0466d330dabc 100644 --- a/slirp/slirp.c +++ b/slirp/slirp.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/timer.h" #include "qemu/error-report.h" diff --git a/slirp/socket.c b/slirp/socket.c index f7e596859feb..2b5453e0205d 100644 --- a/slirp/socket.c +++ b/slirp/socket.c @@ -5,6 +5,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include #include "ip_icmp.h" diff --git a/slirp/tcp_input.c b/slirp/tcp_input.c index f24e7060a40d..2027a7511d4e 100644 --- a/slirp/tcp_input.c +++ b/slirp/tcp_input.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include #include "ip_icmp.h" diff --git a/slirp/tcp_output.c b/slirp/tcp_output.c index fafca58a0a1e..34e4d2e5d4fb 100644 --- a/slirp/tcp_output.c +++ b/slirp/tcp_output.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include static const u_char tcp_outflags[TCP_NSTATES] = { diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c index 36e325618dac..b1aa1f23f4be 100644 --- a/slirp/tcp_subr.c +++ b/slirp/tcp_subr.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include /* patchable/settable parameters for tcp */ diff --git a/slirp/tcp_timer.c b/slirp/tcp_timer.c index 6c5bb11cc39a..1214c2e6fa9d 100644 --- a/slirp/tcp_timer.c +++ b/slirp/tcp_timer.c @@ -30,6 +30,7 @@ * tcp_timer.c,v 1.2 1994/08/02 07:49:10 davidg Exp */ +#include "qemu/osdep.h" #include static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); diff --git a/slirp/tftp.c b/slirp/tftp.c index ccb613014ade..abb010621c4a 100644 --- a/slirp/tftp.c +++ b/slirp/tftp.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include "qemu-common.h" diff --git a/slirp/udp.c b/slirp/udp.c index 92c48c491e8b..6b39cab0c65c 100644 --- a/slirp/udp.c +++ b/slirp/udp.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include #include "ip_icmp.h"