sys-queue.h defines _SYS_QUEUE_H_ which is also defined by
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 5 Dec 2008 17:53:21 +0000 (17:53 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 5 Dec 2008 17:53:21 +0000 (17:53 +0000)
commit3990d09adf4463eca200ad964cc55643c33feb50
tree0730e3f2e37f568c8fb46b820ea10639937a02c2
parent4dd8c1380312a64e8f73a84e30e11f42598f6c46
sys-queue.h defines _SYS_QUEUE_H_ which is also defined by
the <sys/queue.h> system header. <sys/disk.h> uses SLIST_ENTRY
on NetBSD, which doesn't exist in sys-queue.h. Therefore,
include <sys/queue.h> before including sys-queue.h.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5885 c046a42c-6fe2-441c-8c8c-71466251a162
block.c