lkml.org 
[lkml]   [2008]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH/v2] linux/serial.h: pull in linux/types.h for userspace
Date
Commit c26c56c0f40e200e61d1390629c806f6adaffbcc added a struct to the
linux/serial.h header for userspace that uses __u32, so we should make sure
we pull in linux/types.h all the time.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
- better changelog this time ...
include/linux/serial.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/linux/serial.h b/include/linux/serial.h
index 1ea8d92..9136cc5 100644
--- a/include/linux/serial.h
+++ b/include/linux/serial.h
@@ -10,8 +10,9 @@
#ifndef _LINUX_SERIAL_H
#define _LINUX_SERIAL_H

-#ifdef __KERNEL__
#include <linux/types.h>
+
+#ifdef __KERNEL__
#include <asm/page.h>

/*
--
1.6.0.3


\
 
 \ /
  Last update: 2008-11-03 20:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site