OSDN Git Service

Unbreak Linux build
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Oct 2009 21:45:20 +0000 (16:45 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Oct 2009 21:45:20 +0000 (16:45 -0500)
  commit 71f4effce79ec0485586963ea764f2c212c72f26
  Author: Alexander Graf <agraf@suse.de>
  Date:   Fri Oct 30 22:27:00 2009 +0100

      Unbreak tap compilation on OS X

Broke the build on Linux due to a bad #if guard

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net/tap-linux.h

index f1a0fce..9f94358 100644 (file)
@@ -17,7 +17,7 @@
 #define QEMU_TAP_H
 
 #include <stdint.h>
-#ifdef __LINUX__
+#ifdef __linux__
 
 #include <linux/ioctl.h>