qemu/net
Alexander Graf 71f4effce7 Unbreak tap compilation on OS X
Currently compiling the tap sources breaks on Mac OS X. This is because of:

  1) tap-linux.h requiring Linux includes
  2) typos
  3) missing #includes

This patch adds what's necessary to compile tap happily on Mac OS X.
I haven't tested if using tap actually works, but I don't think that's a
major issue as that code was probably seriously untested before already.

I didn't split the patch, because it's only a few lines of code and
splitting is probably not worth the effort here.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-30 16:38:15 -05:00
..
checksum.c net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
checksum.h net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
queue.c net: move net-queue.[ch] under net/ 2009-10-30 08:39:26 -05:00
queue.h net: move net-queue.[ch] under net/ 2009-10-30 08:39:26 -05:00
tap-aix.c net: move UFO support detection to tap-linux.c 2009-10-30 08:39:29 -05:00
tap-bsd.c Unbreak tap compilation on OS X 2009-10-30 16:38:15 -05:00
tap-linux.c net: move UFO support detection to tap-linux.c 2009-10-30 08:39:29 -05:00
tap-linux.h Unbreak tap compilation on OS X 2009-10-30 16:38:15 -05:00
tap-solaris.c net: move UFO support detection to tap-linux.c 2009-10-30 08:39:29 -05:00
tap-win32.c net: move more stuff into net/tap-win32.c, add net/tap.h 2009-10-30 08:39:27 -05:00
tap.c Unbreak tap compilation on OS X 2009-10-30 16:38:15 -05:00
tap.h net: move UFO support detection to tap-linux.c 2009-10-30 08:39:29 -05:00