slirp: Rename "struct arphdr" to "struct slirp_arphdr"
commit1f8b56e7cebc71d80aec27a4760024b56acc957a
authorThomas Huth <thuth@redhat.com>
Mon, 15 Aug 2016 08:24:54 +0000 (15 10:24 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Aug 2016 11:17:36 +0000 (16 12:17 +0100)
treedb321aa940626dcdcc5ce14b3b9cf11b6f83caeb
parent1dc8a6695c731abb7461c637b2512c3670d82be4
slirp: Rename "struct arphdr" to "struct slirp_arphdr"

struct arphdr is already used by the system headers on OpenBSD
and thus QEMU does not compile here anymore. Fix it by renaming
our struct to slirp_arphdr instead.

Reported-by: Brad Smith
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1471249494-17392-1-git-send-email-thuth@redhat.com
Buglink: https://bugs.launchpad.net/qemu/+bug/1613133
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
slirp/slirp.c
slirp/slirp.h