[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Don't include <linux/compiler.h>

From: David Woodhouse
Subject: [Qemu-devel] [PATCH] Don't include <linux/compiler.h>
Date: Mon, 11 Sep 2006 08:23:00 +0100

This file is not one of the kernel headers which is exported to
userspace by the kernel. It should not exist in /usr/include/linux and
certainly shouldn't be included by userspace programs.

diff -Naupr qemu-0.8.2.orig/usb-linux.c qemu-0.8.2/usb-linux.c
--- qemu-0.8.2.orig/usb-linux.c 2006-07-22 19:23:34.000000000 +0200
+++ qemu-0.8.2/usb-linux.c      2006-08-23 18:47:16.000000000 +0200
@@ -26,7 +26,6 @@
 #if defined(__linux__)
 #include <dirent.h>
 #include <sys/ioctl.h>
-#include <linux/compiler.h>
 #include <linux/usbdevice_fs.h>
 #include <linux/version.h>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]