summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/fix-procd-syslog-compile.patch
diff options
context:
space:
mode:
authorRoman Yeryomin <romans.jerjomins@saftehnika.com>2013-06-02 15:32:41 +0300
committerRoman Yeryomin <romans.jerjomins@saftehnika.com>2013-06-02 15:32:41 +0300
commitb03476979520e3e30aab26e7681830fec8710a15 (patch)
treea95149c3cf538b9289405f0c3f9cfc93dd539ed7 /target/linux/realtek/patches-2.6.30/fix-procd-syslog-compile.patch
parent65b0729672fe1fa775a07cf4e520048fd5222b45 (diff)
Fix kernel compilation after rebase
Signed-off-by: Roman Yeryomin <romans.jerjomins@saftehnika.com>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/fix-procd-syslog-compile.patch')
-rw-r--r--target/linux/realtek/patches-2.6.30/fix-procd-syslog-compile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/fix-procd-syslog-compile.patch b/target/linux/realtek/patches-2.6.30/fix-procd-syslog-compile.patch
new file mode 100644
index 000000000..40d22b5f0
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/fix-procd-syslog-compile.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.30.9/include/linux/un.h 2013-06-01 19:20:42.748450665 +0300
++++ linux-2.6.30.9/include/linux/un.h 2013-06-01 19:19:48.692449336 +0300
+@@ -2,7 +2,7 @@
+ #define _LINUX_UN_H
+
+ #define UNIX_PATH_MAX 108
+-
++typedef unsigned short sa_family_t;
+ struct sockaddr_un {
+ sa_family_t sun_family; /* AF_UNIX */
+ char sun_path[UNIX_PATH_MAX]; /* pathname */