changeset 32358:29dc134ae9b3

Add necessary #includes to make headers compile standalone.
author diego
date Tue, 05 Oct 2010 20:51:05 +0000
parents 379ac243ea60
children 3f8dcfb95845
files drivers/3dfx.h drivers/mga_vid.h drivers/radeon_vid.h drivers/tdfx_vid.h
diffstat 4 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/3dfx.h	Tue Oct 05 20:24:03 2010 +0000
+++ b/drivers/3dfx.h	Tue Oct 05 20:51:05 2010 +0000
@@ -22,6 +22,8 @@
 #ifndef MPLAYER_3DFX_H
 #define MPLAYER_3DFX_H
 
+#include <linux/types.h>
+
 #define VOODOO_IO_REG_OFFSET     ((unsigned long int)0x0000000)
 #define VOODOO_YUV_REG_OFFSET    ((unsigned long int)0x0080100)
 #define VOODOO_AGP_REG_OFFSET    ((unsigned long int)0x0080000)
--- a/drivers/mga_vid.h	Tue Oct 05 20:24:03 2010 +0000
+++ b/drivers/mga_vid.h	Tue Oct 05 20:51:05 2010 +0000
@@ -24,6 +24,8 @@
 #ifndef MGA_VID_H
 #define MGA_VID_H
 
+#include <linux/types.h>
+
 typedef struct mga_vid_config_s
 {
 uint16_t version;
--- a/drivers/radeon_vid.h	Tue Oct 05 20:24:03 2010 +0000
+++ b/drivers/radeon_vid.h	Tue Oct 05 20:51:05 2010 +0000
@@ -25,6 +25,8 @@
 #ifndef MPLAYER_RADEON_VID_H
 #define MPLAYER_RADEON_VID_H
 
+#include <linux/types.h>
+
 typedef struct mga_vid_config_s
 {
 uint16_t version;
--- a/drivers/tdfx_vid.h	Tue Oct 05 20:24:03 2010 +0000
+++ b/drivers/tdfx_vid.h	Tue Oct 05 20:51:05 2010 +0000
@@ -21,6 +21,8 @@
 #ifndef MPLAYER_TDFX_VID_H
 #define MPLAYER_TDFX_VID_H
 
+#include <linux/types.h>
+
 #define TDFX_VID_VERSION 1
 
 #define TDFX_VID_MOVE_2_PACKED  0