[PATCH 2.6.8-rc2-mm2] Include "compiler.h" in videodev.h

From: Luca Risolia
Date: Tue Aug 10 2004 - 09:48:05 EST


This avoids compiler errors about undefined "__user" macros when
including "videodev.h" in userspace applications:

--- devel-2.6.7/include/linux/videodev.h.orig 2004-08-10 16:40:04.000000000 +0200
+++ devel-2.6.7/include/linux/videodev.h 2004-08-10 16:42:39.094372072 +0200
@@ -1,6 +1,7 @@
#ifndef __LINUX_VIDEODEV_H
#define __LINUX_VIDEODEV_H

+#include <linux/compiler.h>
#include <linux/types.h>
#include <linux/version.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/