Commit 7df7482b authored by Peter Maydell's avatar Peter Maydell
Browse files

slirp: Clean up includes



Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Message-id: 1454089805-5470-10-git-send-email-peter.maydell@linaro.org
parent 4459bf38
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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])
+1 −0
Original line number Diff line number Diff line
@@ -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 <slirp.h>

#if defined(_WIN32)
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
 * in_cksum.c,v 1.2 1994/08/02 07:48:16 davidg Exp
 */

#include "qemu/osdep.h"
#include <slirp.h>

/*
+1 −3
Original line number Diff line number Diff line
@@ -22,9 +22,7 @@
 * THE SOFTWARE.
 */

#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "qemu/osdep.h"
#include <glib.h>
#include "slirp.h"

+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
 * terms and conditions of the copyright.
 */

#include "qemu/osdep.h"
#include <slirp.h>
#include "qemu/timer.h"

Loading