mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:01:09 +02:00
serial.h exports struct serial_rs485 which contains __32 fields to userspace so it
has to export linux/types.h to userspace aswell. Fixes #4445 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14377 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ec46c1676a
commit
b31a927c29
@ -0,0 +1,21 @@
|
||||
commit e611993564bf0bc200c430ef8d25699289c34c70
|
||||
Author: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Tue Feb 3 00:16:19 2009 +0100
|
||||
|
||||
struct serial_rs485 contains __32 fields and is exported to userspace so it
|
||||
needs linux/types.h in userspace aswell.
|
||||
|
||||
diff --git a/include/linux/serial.h b/include/linux/serial.h
|
||||
index 1ea8d92..fa72b39 100644
|
||||
--- a/include/linux/serial.h
|
||||
+++ b/include/linux/serial.h
|
||||
@@ -10,8 +10,8 @@
|
||||
#ifndef _LINUX_SERIAL_H
|
||||
#define _LINUX_SERIAL_H
|
||||
|
||||
-#ifdef __KERNEL__
|
||||
#include <linux/types.h>
|
||||
+#ifdef __KERNEL__
|
||||
#include <asm/page.h>
|
||||
|
||||
/*
|
Loading…
Reference in New Issue
Block a user